File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,9 @@ const FormCatalogFields: React.FC<IFormCatalogFieldsProps> = ({
61
61
< >
62
62
< div className = "w-full rounded-md bg-black bg-opacity-80 p-2" >
63
63
< h1 className = "font-bold" >
64
- Add fields for Cataloging to ensure quality and discoverability of
65
- Thing Models
64
+ The following fields will be added in the background to your TM for
65
+ cataloging purposes to ensure quality and discoverability of Thing
66
+ Models.
66
67
</ h1 >
67
68
< div className = "mx-auto w-[70%] flex-col px-4" >
68
69
< DialogTextField
Original file line number Diff line number Diff line change @@ -37,21 +37,29 @@ const InfoIconWrapper: React.FC<IInfoIconWrapperProps> = (props) => {
37
37
? `flex ${ props . className } `
38
38
: "flex justify-center" ;
39
39
40
+ const handleClick = ( ) => {
41
+ if ( ! isHrefEmpty ) {
42
+ window . open ( props . tooltip . href , "_blank" ) ;
43
+ }
44
+ } ;
45
+
40
46
return (
41
47
< div className = { containerClass } >
42
48
< div className = "pr-0.5" > { props . children } </ div >
43
- < button
44
- onClick = { ( ) =>
45
- ! isHrefEmpty && window . open ( props . tooltip . href , "_blank" )
46
- }
47
- disabled = { isHrefEmpty }
49
+ < div
50
+ role = "link"
51
+ tabIndex = { isHrefEmpty ? - 1 : 0 }
52
+ onClick = { handleClick }
53
+ aria-disabled = { isHrefEmpty }
54
+ className = { `cursor-${ isHrefEmpty ? "default" : "pointer" } ` }
55
+ aria-label = { isHrefEmpty ? "Info" : "More information" }
48
56
>
49
57
< Icon
50
58
html = { props . tooltip . html || "No tooltip content available" }
51
59
id = { props . id }
52
60
IconComponent = { Info }
53
61
/>
54
- </ button >
62
+ </ div >
55
63
< div className = "p-1" > </ div >
56
64
</ div >
57
65
) ;
Original file line number Diff line number Diff line change @@ -421,6 +421,7 @@ const InteractionSection: React.FC<IInteractionSectionProps> = (props) => {
421
421
onRowClick = { handleOnRowClick }
422
422
onSendRequestClick = { handleOnClickSendRequest }
423
423
baseUrl = { td . base ?? "" }
424
+ requestResults = { { } }
424
425
/>
425
426
) ;
426
427
}
You can’t perform that action at this time.
0 commit comments