1
0

Show caldav url in settings if it's enabled server side

This commit is contained in:
kolaente
2020-10-03 14:58:33 +02:00
parent 2c6ec6ec35
commit 2870f9217e
4 changed files with 64 additions and 17 deletions

View File

@ -19,6 +19,7 @@ export default {
imprintUrl: '',
privacyPolicyUrl: '',
},
caldavEnabled: false,
}),
mutations: {
[CONFIG](state, config) {
@ -34,6 +35,7 @@ export default {
state.enabledBackgroundProviders = config.enabled_background_providers
state.legal.imprintUrl = config.legal.imprint_url
state.legal.privacyPolicyUrl = config.legal.privacy_policy_url
state.caldavEnabled = config.caldav_enabled
},
},
actions: {