Snapshots: Remove scenes button from snapshot view (#77997)

This commit is contained in:
Ezequiel Victorero 2023-11-10 11:44:04 -03:00 committed by GitHub
parent 7b4bcc86f1
commit 225614a513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ export const DashNav = React.memo<Props>((props) => {
);
}
if (config.featureToggles.scenes) {
if (config.featureToggles.scenes && !dashboard.isSnapshot()) {
buttons.push(
<DashNavButton
key="button-scenes"