summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/ConfiguratorModuleEntry.vue
diff options
context:
space:
mode:
authorUdo Walter2019-02-28 06:06:37 +0100
committerUdo Walter2019-02-28 06:06:37 +0100
commit8816b80307379fccfd0e9d3d23315beaff52213b (patch)
treeb2a4efa6fc79a4e01467d5589ed37f4fa076da73 /webapp/src/components/ConfiguratorModuleEntry.vue
parent[webapp/backends] Rework to the new DataTable (diff)
downloadbas-8816b80307379fccfd0e9d3d23315beaff52213b.tar.gz
bas-8816b80307379fccfd0e9d3d23315beaff52213b.tar.xz
bas-8816b80307379fccfd0e9d3d23315beaff52213b.zip
[webapp/groups] performance improvements
Diffstat (limited to 'webapp/src/components/ConfiguratorModuleEntry.vue')
-rw-r--r--webapp/src/components/ConfiguratorModuleEntry.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/webapp/src/components/ConfiguratorModuleEntry.vue b/webapp/src/components/ConfiguratorModuleEntry.vue
index 3eeebc4..94bce00 100644
--- a/webapp/src/components/ConfiguratorModuleEntry.vue
+++ b/webapp/src/components/ConfiguratorModuleEntry.vue
@@ -74,8 +74,10 @@ export default {
let url = '/api/configurator/entries'
if (this.dialog.info.id !== undefined) url += '/' + this.dialog.info.id
await this.$http.post(url, {
- name: this.name,
- script: this.script
+ data: {
+ name: this.name,
+ script: this.script
+ }
})
this.$store.dispatch('configurator/loadData')
this.setDialog({ show: false })