summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/ConfiguratorModuleConfig.vue
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/ConfiguratorModuleConfig.vue')
-rw-r--r--webapp/src/components/ConfiguratorModuleConfig.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/webapp/src/components/ConfiguratorModuleConfig.vue b/webapp/src/components/ConfiguratorModuleConfig.vue
index 0cd31e4..45dc352 100644
--- a/webapp/src/components/ConfiguratorModuleConfig.vue
+++ b/webapp/src/components/ConfiguratorModuleConfig.vue
@@ -35,7 +35,7 @@
<template>
<v-card style="overflow: hidden">
- <v-card-title primary-title class="dialog-title elevation-3">
+ <v-card-title class="dialog-title elevation-3">
<div class="headline">{{ dialog.info.id ? $t('titleExisting') : $t('titleNew') }}</div>
</v-card-title>
<v-card-text style="height: 100%">
@@ -97,7 +97,6 @@
</template>
<script>
-import axios from 'axios'
import draggable from 'vuedraggable'
import ComponentSearchTable from '@/components/ComponentSearchTable'
import { mapState } from 'vuex'
@@ -174,7 +173,7 @@ export default {
async saveConfig () {
let url = '/api/configurator/configs'
if (this.dialog.info.id !== undefined) url += '/' + this.dialog.info.id
- await axios.post(url, {
+ await this.$http.post(url, {
data: {
name: this.name,
description: this.description,