aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/NotificationPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-08 17:33:58 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-08 17:33:58 -0700
commitbf95e1bb48379bc1c3482d3f201017250991a832 (patch)
tree044446e36f395d3bcc0f48f8d95e25bc23ba2009 /modern/src/settings/NotificationPage.js
parented99455abb6c73ded056ae3239cfce01a63ab76f (diff)
downloadtrackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.tar.gz
trackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.tar.bz2
trackermap-web-bf95e1bb48379bc1c3482d3f201017250991a832.zip
Implement new page layout
Diffstat (limited to 'modern/src/settings/NotificationPage.js')
-rw-r--r--modern/src/settings/NotificationPage.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/modern/src/settings/NotificationPage.js b/modern/src/settings/NotificationPage.js
index ed0b3e5e..38ba19e5 100644
--- a/modern/src/settings/NotificationPage.js
+++ b/modern/src/settings/NotificationPage.js
@@ -8,6 +8,7 @@ import { useTranslation, useTranslationKeys } from '../common/components/Localiz
import EditItemView from './components/EditItemView';
import { prefixString, unprefixString } from '../common/util/stringUtils';
import SelectField from '../common/components/SelectField';
+import SettingsMenu from './components/SettingsMenu';
const useStyles = makeStyles(() => ({
details: {
@@ -29,7 +30,14 @@ const NotificationPage = () => {
const validate = () => item && item.type && item.notificators;
return (
- <EditItemView endpoint="notifications" item={item} setItem={setItem} validate={validate}>
+ <EditItemView
+ endpoint="notifications"
+ item={item}
+ setItem={setItem}
+ validate={validate}
+ menu={<SettingsMenu />}
+ breadcrumbs={['settingsTitle', 'sharedNotification']}
+ >
{item && (
<>
<Accordion defaultExpanded>