summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorChristian Hofmaier2019-04-15 00:43:31 +0200
committerChristian Hofmaier2019-04-15 00:43:31 +0200
commit17267cee0c1e58d8d05e01e16e4aba262cf8f813 (patch)
treebbf36986894243518e82ab4e2fa77c6543233182 /webapp
parentfix eslint (diff)
downloadbas-17267cee0c1e58d8d05e01e16e4aba262cf8f813.tar.gz
bas-17267cee0c1e58d8d05e01e16e4aba262cf8f813.tar.xz
bas-17267cee0c1e58d8d05e01e16e4aba262cf8f813.zip
[eventmanager] fix create not init correctly
Diffstat (limited to 'webapp')
-rw-r--r--webapp/src/components/EventModuleEdit.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/components/EventModuleEdit.vue b/webapp/src/components/EventModuleEdit.vue
index 5421fba..9075faa 100644
--- a/webapp/src/components/EventModuleEdit.vue
+++ b/webapp/src/components/EventModuleEdit.vue
@@ -458,7 +458,7 @@ export default {
this.description = value.info.description || ''
this.important = value.info.important || false
- this.config = [value.info.config] || []
+ this.config = value.info.config ? [value.info.config] : []
this.times = value.info.times ? JSON.parse(value.info.times) : {}
this.repetitiveEvent = this.times.repetitive || false