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] }} + - +
- +