From cb4a5f8d1b891eb34e1c2088cb9bf2bd0b7ac4dc Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 5 Jun 2024 10:38:40 +0200 Subject: [PATCH 1/3] fix: refs #6825 css --- src/components/FormModel.vue | 2 ++ src/components/VnTable/VnTable.vue | 30 ++++++++++++++++++++++++++---- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 2c2acb61c..0874a5bbc 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -196,6 +196,8 @@ async function save() { } catch (err) { console.error(err); notify('errors.writeRequest', 'negative'); + hasChanges.value = false; + isLoading.value = false; } isLoading.value = false; } diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 7488f0db9..93bcfdddb 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -43,6 +43,10 @@ const $props = defineProps({ type: Object, default: null, }, + cardClass: { + type: String, + default: 'flex-one', + }, }); const { t } = useI18n(); const stateStore = useStateStore(); @@ -300,7 +304,11 @@ defineExpose({ } " > - + {{ row[splittedColumns.title.name] }} + {{ row[splittedColumns.title.name] }} + - +
- +