From 4d8de959a3acf528fb70ea557ab4e186fdf30d4f Mon Sep 17 00:00:00 2001 From: Ahmet Bora Date: Sun, 16 May 2021 16:40:09 +0300 Subject: [PATCH] Refactored table block with structure field #3323 #3324 --- panel/src/components/Blocks/Types/Table.vue | 23 +++++- .../components/Forms/Field/StructureField.vue | 69 +----------------- panel/src/mixins/forms/structure.js | 71 +++++++++++++++++++ 3 files changed, 95 insertions(+), 68 deletions(-) create mode 100644 panel/src/mixins/forms/structure.js diff --git a/panel/src/components/Blocks/Types/Table.vue b/panel/src/components/Blocks/Types/Table.vue index 0e764dc987..f74907c0b0 100644 --- a/panel/src/components/Blocks/Types/Table.vue +++ b/panel/src/components/Blocks/Types/Table.vue @@ -4,6 +4,7 @@ {{ column.label }} @@ -18,28 +19,46 @@ - {{ column.before }} {{ row[columnName] }} {{ column.after }} + +