File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
public/app/features/dashboard/components/DashNav Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ export const DashNav = React.memo<Props>((props) => {
275
275
icon = "monitor"
276
276
onClick = { onToggleTVMode }
277
277
key = "tv-button"
278
- isHidden = { FNDashboard ? true : false }
278
+ isHidden = { ! ! FNDashboard }
279
279
/>
280
280
) ;
281
281
@@ -294,7 +294,7 @@ export const DashNav = React.memo<Props>((props) => {
294
294
icon = "panel-add"
295
295
onClick = { onAddPanel }
296
296
key = "button-panel-add"
297
- isHidden = { FNDashboard ? true : false }
297
+ isHidden = { ! ! FNDashboard }
298
298
/>
299
299
) ;
300
300
}
@@ -312,7 +312,7 @@ export const DashNav = React.memo<Props>((props) => {
312
312
onDismiss : hideModal ,
313
313
} ) ;
314
314
} }
315
- isHidden = { FNDashboard ? true : false }
315
+ isHidden = { ! ! FNDashboard }
316
316
/>
317
317
) }
318
318
</ ModalsController >
@@ -326,7 +326,7 @@ export const DashNav = React.memo<Props>((props) => {
326
326
onClick = { ( ) => gotoSnapshotOrigin ( snapshotUrl ) }
327
327
icon = "link"
328
328
key = "button-snapshot"
329
- isHidden = { FNDashboard ? true : false }
329
+ isHidden = { ! ! FNDashboard }
330
330
/>
331
331
) ;
332
332
}
@@ -338,7 +338,7 @@ export const DashNav = React.memo<Props>((props) => {
338
338
icon = "cog"
339
339
onClick = { onOpenSettings }
340
340
key = "button-settings"
341
- isHidden = { FNDashboard ? true : false }
341
+ isHidden = { ! ! FNDashboard }
342
342
/>
343
343
) ;
344
344
}
You can’t perform that action at this time.
0 commit comments