diff --git a/package.json b/package.json index 7821cab8..0ea31f28 100644 --- a/package.json +++ b/package.json @@ -56,11 +56,11 @@ } }, "dependencies": { - "@material-ui/core": "4.11.2", + "@material-ui/core": "4.11.3", "@material-ui/icons": "4.11.2", "@material-ui/lab": "^4.0.0-alpha.57", - "@material-ui/styles": "4.11.2", - "@material-ui/system": "4.11.2", + "@material-ui/styles": "4.11.3", + "@material-ui/system": "4.11.3", "@reduxjs/toolkit": "1.5.0", "debounce": "1.2.0", "downshift": "6.0.6", diff --git a/src/components/menu-app-bar/MenuAppBarCmp.jsx b/src/components/menu-app-bar/MenuAppBarCmp.jsx index ac0e7528..5ded5421 100644 --- a/src/components/menu-app-bar/MenuAppBarCmp.jsx +++ b/src/components/menu-app-bar/MenuAppBarCmp.jsx @@ -75,12 +75,16 @@ function MenuAppBarCmp(props) { const { presetName, monitorVal } = useSelector((state) => state.sliders) const classes = makeStyles(styles.bind(this, theme))() const [isCopyDialogOpen, setIsCopyDialogOpen] = useState(false) + const isPage = [PAGE_TYPES.MIDI_DRIVER_MODE, PAGE_TYPES.GLOBAL_MODE].includes( + pageType + ) if (isLiveMode) { return
} return ( -
+
)} - {[PAGE_TYPES.MIDI_DRIVER_MODE, PAGE_TYPES.GLOBAL_MODE].includes( - pageType - ) && ( + {isPage && (