diff options
author | Anton Tananaev <anton@traccar.org> | 2023-07-01 16:04:07 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-07-01 16:04:07 -0700 |
commit | b5661c954a617cabcee9e7b82d8a4336ea0be5e4 (patch) | |
tree | 614b8a9588b0e386edeeb53a46089acbb6b8fc9b /modern | |
parent | ff518dfd78001c12ff0fc6641ac12594d2c0b6c1 (diff) | |
download | trackermap-web-b5661c954a617cabcee9e7b82d8a4336ea0be5e4.tar.gz trackermap-web-b5661c954a617cabcee9e7b82d8a4336ea0be5e4.tar.bz2 trackermap-web-b5661c954a617cabcee9e7b82d8a4336ea0be5e4.zip |
Add calendar based filtering
Diffstat (limited to 'modern')
-rw-r--r-- | modern/src/settings/DevicePage.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modern/src/settings/DevicePage.js b/modern/src/settings/DevicePage.js index a0a6c2b8..11d122d3 100644 --- a/modern/src/settings/DevicePage.js +++ b/modern/src/settings/DevicePage.js @@ -128,6 +128,12 @@ const DevicePage = () => { }))} label={t('deviceCategory')} /> + <SelectField + value={item.calendarId || 0} + onChange={(event) => setItem({ ...item, calendarId: Number(event.target.value) })} + endpoint="/api/calendars" + label={t('sharedCalendar')} + /> <TextField label={t('userExpirationTime')} type="date" |