aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/OptionsLayout/useRoutes.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-07 23:23:37 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-07 23:23:37 -0700
commit514843d04a1253f583612797a1947790c43717c3 (patch)
treeda935f2250766147561b7a5954b58486b78ec64e /modern/src/settings/OptionsLayout/useRoutes.js
parentc9ae8f34bbdb75e95500ac8a2736d8eb9b4304d4 (diff)
downloadtrackermap-web-514843d04a1253f583612797a1947790c43717c3.tar.gz
trackermap-web-514843d04a1253f583612797a1947790c43717c3.tar.bz2
trackermap-web-514843d04a1253f583612797a1947790c43717c3.zip
Add calendar menu
Diffstat (limited to 'modern/src/settings/OptionsLayout/useRoutes.js')
-rw-r--r--modern/src/settings/OptionsLayout/useRoutes.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/modern/src/settings/OptionsLayout/useRoutes.js b/modern/src/settings/OptionsLayout/useRoutes.js
index 8be4ec30..efbd9eb2 100644
--- a/modern/src/settings/OptionsLayout/useRoutes.js
+++ b/modern/src/settings/OptionsLayout/useRoutes.js
@@ -8,6 +8,7 @@ import StorageIcon from '@material-ui/icons/Storage';
import BuildIcon from '@material-ui/icons/Build';
import PeopleIcon from '@material-ui/icons/People';
import BarChartIcon from '@material-ui/icons/BarChart';
+import TodayIcon from '@material-ui/icons/Today';
import { getIsAdmin, getUserId } from '../../common/selectors';
import { useTranslation } from '../../LocalizationProvider';
@@ -61,6 +62,12 @@ const useMainRoutes = (t, userId) => useMemo(() => [
icon: <PersonIcon />,
},
{
+ match: 'calendar',
+ name: t('sharedCalendars'),
+ href: '/settings/calendars',
+ icon: <TodayIcon />,
+ },
+ {
match: 'attribute',
name: t('sharedComputedAttributes'),
href: '/settings/attributes',