diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-08 17:33:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-08 17:33:58 -0700 |
commit | bf95e1bb48379bc1c3482d3f201017250991a832 (patch) | |
tree | 044446e36f395d3bcc0f48f8d95e25bc23ba2009 /modern/src/settings/GroupPage.js | |
parent | ed99455abb6c73ded056ae3239cfce01a63ab76f (diff) | |
download | trackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.tar.gz trackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.tar.bz2 trackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.zip |
Implement new page layout
Diffstat (limited to 'modern/src/settings/GroupPage.js')
-rw-r--r-- | modern/src/settings/GroupPage.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modern/src/settings/GroupPage.js b/modern/src/settings/GroupPage.js index 750d6ebc..f56a2fd3 100644 --- a/modern/src/settings/GroupPage.js +++ b/modern/src/settings/GroupPage.js @@ -10,6 +10,7 @@ import EditAttributesView from './components/EditAttributesView'; import useDeviceAttributes from '../common/attributes/useDeviceAttributes'; import SelectField from '../common/components/SelectField'; import { useTranslation } from '../common/components/LocalizationProvider'; +import SettingsMenu from './components/SettingsMenu'; const useStyles = makeStyles(() => ({ details: { @@ -28,7 +29,14 @@ const GroupPage = () => { const validate = () => item && item.name; return ( - <EditItemView endpoint="groups" item={item} setItem={setItem} validate={validate}> + <EditItemView + endpoint="groups" + item={item} + setItem={setItem} + validate={validate} + menu={<SettingsMenu />} + breadcrumbs={['settingsTitle', 'groupDialog']} + > {item && ( <> <Accordion defaultExpanded> |