diff options
Diffstat (limited to 'apps/dav/src/settings.js')
-rw-r--r-- | apps/dav/src/settings.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/dav/src/settings.js b/apps/dav/src/settings.js new file mode 100644 index 00000000000..a81e11c5257 --- /dev/null +++ b/apps/dav/src/settings.js @@ -0,0 +1,24 @@ +import Vue from 'vue' +import { loadState } from '@nextcloud/initial-state' +import { translate } from '@nextcloud/l10n' +import CalDavSettings from './views/CalDavSettings' + +Vue.prototype.$t = translate + +const View = Vue.extend(CalDavSettings) +const CalDavSettingsView = new View({ + name: 'CalDavSettingsView', + data() { + return { + sendInvitations: loadState('dav', 'sendInvitations'), + generateBirthdayCalendar: loadState( + 'dav', + 'generateBirthdayCalendar' + ), + sendEventReminders: loadState('dav', 'sendEventReminders'), + sendEventRemindersPush: loadState('dav', 'sendEventRemindersPush'), + } + }, +}) + +CalDavSettingsView.$mount('#settings-admin-caldav') |