aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/CommandPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/settings/CommandPage.js')
-rw-r--r--modern/src/settings/CommandPage.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/modern/src/settings/CommandPage.js b/modern/src/settings/CommandPage.js
index 99bb21f2..4785021b 100644
--- a/modern/src/settings/CommandPage.js
+++ b/modern/src/settings/CommandPage.js
@@ -6,6 +6,7 @@ import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import EditItemView from './components/EditItemView';
import { useTranslation } from '../common/components/LocalizationProvider';
import BaseCommandView from './components/BaseCommandView';
+import SettingsMenu from './components/SettingsMenu';
const useStyles = makeStyles(() => ({
details: {
@@ -22,7 +23,14 @@ const CommandPage = () => {
const validate = () => item && item.type;
return (
- <EditItemView endpoint="commands" item={item} setItem={setItem} validate={validate}>
+ <EditItemView
+ endpoint="commands"
+ item={item}
+ setItem={setItem}
+ validate={validate}
+ menu={<SettingsMenu />}
+ breadcrumbs={['settingsTitle', 'sharedSavedCommand']}
+ >
{item && (
<Accordion defaultExpanded>
<AccordionSummary expandIcon={<ExpandMoreIcon />}>