File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
javascript/tokenscript-viewer/src/components/common/tokens-grid Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,18 @@ export class TokenSecurityStatus {
48
48
49
49
render ( ) {
50
50
return (
51
- this . securityInfo ?
52
- < Host >
53
- < popover-dialog ref = { ( el ) => this . dialog = el as HTMLPopoverDialogElement } dialogStyles = { { background : "#fff !important" , color : "#000 !important" } } >
54
- < h1 class = "security-popover-icon" style = { { color : this . statusColor } } > { this . statusIcon } </ h1 >
55
- < strong innerHTML = { this . securityInfo . statusText . replaceAll ( "\n" , "<br/>" ) } />
56
- < p style = { { wordWrap : "break-word" } } innerHTML = { this . getDetailedSecurityInfo ( ) . replaceAll ( "\n" , "<br/>" ) } >
57
- </ p >
58
- </ popover-dialog >
59
- </ Host >
60
- : ''
51
+ < Host >
52
+ < popover-dialog ref = { ( el ) => this . dialog = el as HTMLPopoverDialogElement } dialogStyles = { { background : "#fff !important" , color : "#000 !important" } } >
53
+ { ( this . securityInfo ?
54
+ < div >
55
+ < h1 class = "security-popover-icon"
56
+ style = { { color : this . statusColor } } > { this . statusIcon } </ h1 >
57
+ < strong innerHTML = { this . securityInfo . statusText . replaceAll ( "\n" , "<br/>" ) } />
58
+ < p style = { { wordWrap : "break-word" } } innerHTML = { this . getDetailedSecurityInfo ( ) . replaceAll ( "\n" , "<br/>" ) } > </ p >
59
+ </ div >
60
+ : '' ) }
61
+ </ popover-dialog >
62
+ </ Host >
61
63
)
62
64
}
63
65
}
You can’t perform that action at this time.
0 commit comments