summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/ConfiguratorModuleDelete.vue
diff options
context:
space:
mode:
authorUdo Walter2019-02-26 00:17:17 +0100
committerUdo Walter2019-02-26 00:17:17 +0100
commit67f6dd188b2dbbfa60e28ee020a784bcf021a509 (patch)
treea93fc09728c7178f083b2a0f0114273ba6b96e28 /webapp/src/components/ConfiguratorModuleDelete.vue
parent[webapp/groups] ipranges design change; add icons to some tabs (diff)
downloadbas-67f6dd188b2dbbfa60e28ee020a784bcf021a509.tar.gz
bas-67f6dd188b2dbbfa60e28ee020a784bcf021a509.tar.xz
bas-67f6dd188b2dbbfa60e28ee020a784bcf021a509.zip
[webapp] small ui fixes
Diffstat (limited to 'webapp/src/components/ConfiguratorModuleDelete.vue')
-rw-r--r--webapp/src/components/ConfiguratorModuleDelete.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/webapp/src/components/ConfiguratorModuleDelete.vue b/webapp/src/components/ConfiguratorModuleDelete.vue
index 4ef59ec..2d5a81d 100644
--- a/webapp/src/components/ConfiguratorModuleDelete.vue
+++ b/webapp/src/components/ConfiguratorModuleDelete.vue
@@ -11,7 +11,7 @@
<template>
<v-card>
- <v-card-title primary-title class="dialog-title elevation-3">
+ <v-card-title class="dialog-title elevation-3">
<div class="headline">{{ $tc('title', dialog.info.selected.length, [dialog.info.selected.length]) }}</div>
</v-card-title>
<v-card-text style="height: 100%">
@@ -27,7 +27,6 @@
</template>
<script>
-import axios from 'axios'
import { mapState } from 'vuex'
export default {
@@ -44,7 +43,7 @@ export default {
this.$store.commit('configurator/setDialog', data)
},
async deleteItems () {
- await axios.post('/api/configurator/' + this.dialog.info.itemType + '/?delete', {
+ await this.$http.post('/api/configurator/' + this.dialog.info.itemType + '/?delete', {
ids: this.dialog.info.selected.map(x => x.id)
})
this.$store.dispatch('configurator/loadData')