diff --git a/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx b/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx index 25be6dd13ca..acfda7fa47c 100644 --- a/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx +++ b/public/app/features/dashboard-scene/scene/layout-tabs/TabsLayoutManagerRenderer.tsx @@ -6,6 +6,7 @@ import { SceneComponentProps } from '@grafana/scenes'; import { Button, TabContent, TabsBar, useStyles2 } from '@grafana/ui'; import { Trans } from 'app/core/internationalization'; +import { useIsConditionallyHidden } from '../../conditional-rendering/useIsConditionallyHidden'; import { getDashboardSceneFor } from '../../utils/utils'; import { useClipboardState } from '../layouts-shared/useClipboardState'; @@ -19,6 +20,7 @@ export function TabsLayoutManagerRenderer({ model }: SceneComponentProps @@ -64,9 +66,13 @@ export function TabsLayoutManagerRenderer({ model }: SceneComponentProps - - {currentTab && } - + +
+ + {currentTab && } + + {isEditing && conditionalRenderingOverlay} +
); }