summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/RegistrationModuleDelete.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/RegistrationModuleDelete.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/RegistrationModuleDelete.vue')
-rw-r--r--webapp/src/components/RegistrationModuleDelete.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/webapp/src/components/RegistrationModuleDelete.vue b/webapp/src/components/RegistrationModuleDelete.vue
index aaf8d57..1b0d42c 100644
--- a/webapp/src/components/RegistrationModuleDelete.vue
+++ b/webapp/src/components/RegistrationModuleDelete.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">{{ $t('title') }}</div>
</v-card-title>
<v-card-text>
@@ -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('registration/setDialog', data)
},
async deleteItems () {
- await axios.delete('/api/registration/hooks/' + this.dialog.info.id)
+ await this.$http.delete('/api/registration/hooks/' + this.dialog.info.id)
this.$store.dispatch('registration/loadHooks')
this.setDialog({ show: false })
}