From 74e7a71bedd27ba2fe3b37772ec8c310053e44b2 Mon Sep 17 00:00:00 2001 From: grnd-alt Date: Mon, 25 Mar 2024 13:36:33 +0100 Subject: [PATCH] remove bottom padding from table description Signed-off-by: grnd-alt --- src/modules/main/sections/Table.vue | 5 ----- src/modules/main/sections/TableDescription.vue | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) 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 {