diff --git a/src/modules/main/sections/Table.vue b/src/modules/main/sections/Table.vue index b534a638b..70e3205ec 100644 --- a/src/modules/main/sections/Table.vue +++ b/src/modules/main/sections/Table.vue @@ -82,8 +82,3 @@ export default { }, } - diff --git a/src/modules/main/sections/TableDescription.vue b/src/modules/main/sections/TableDescription.vue index 4a57a5e0b..eedb08faf 100644 --- a/src/modules/main/sections/TableDescription.vue +++ b/src/modules/main/sections/TableDescription.vue @@ -101,7 +101,7 @@ export default { async saveDescription() { if (this.descriptionLastEdited !== 0 || this.description === this.activeElement.description) return this.descriptionSaving = true - await this.$store.dispatch('updateTableProperty', { id: this.table.id, data: { description }, property: 'description' }) + await this.$store.dispatch('updateTableProperty', { id: this.activeElement.id, data: { description:this.description }, property: 'description' }) this.descriptionLastEdit = 0 this.descriptionSaving = false }, @@ -122,6 +122,10 @@ export default {