summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/BackendModule.vue
diff options
context:
space:
mode:
authorJannik Schönartz2018-08-05 03:24:49 +0200
committerJannik Schönartz2018-08-05 03:24:49 +0200
commitfb7727d1c0ee0a93376773943436779e27f60ba8 (patch)
tree08192340d691ed63a62c6dcf6044a95afe349061 /webapp/src/components/BackendModule.vue
parentfixed eslint (diff)
downloadbas-fb7727d1c0ee0a93376773943436779e27f60ba8.tar.gz
bas-fb7727d1c0ee0a93376773943436779e27f60ba8.tar.xz
bas-fb7727d1c0ee0a93376773943436779e27f60ba8.zip
[external-backends] Added comments for the API functions and in the external-backend prototype file. Added iDoIT method to get a list of all objects.
Diffstat (limited to 'webapp/src/components/BackendModule.vue')
-rw-r--r--webapp/src/components/BackendModule.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/src/components/BackendModule.vue b/webapp/src/components/BackendModule.vue
index 8100367..c21ac42 100644
--- a/webapp/src/components/BackendModule.vue
+++ b/webapp/src/components/BackendModule.vue
@@ -38,7 +38,7 @@
<v-dialog
:value="$store.state.backends.dialog"
- @input="$store.commit('backends/setDialog', { show: $event })"
+ @input="$store.commit('backends/setDialog', $event)"
max-width="500px"
scrollable
>
@@ -57,8 +57,8 @@
<v-divider></v-divider>
<v-card-actions>
<v-spacer></v-spacer>
- <v-btn flat="flat" @click="$store.commit('backends/setDialog', { show: false })">{{ $t('cancel') }}</v-btn>
- <v-btn color="error" @click="$store.commit('backends/setDialog', { show: false }); $store.dispatch('backends/deleteSelectedBackends')">{{ $t('delete') }}</v-btn>
+ <v-btn flat="flat" @click="$store.commit('backends/setDialog', false)">{{ $t('cancel') }}</v-btn>
+ <v-btn color="error" @click="$store.commit('backends/setDialog', false); $store.dispatch('backends/deleteSelectedBackends')">{{ $t('delete') }}</v-btn>
</v-card-actions>
</v-card>
</v-dialog>