aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/DevicePage.js6
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"