From 83596daf765832effd08db833c93344cee1a763c Mon Sep 17 00:00:00 2001 From: alexm Date: Thu, 18 Jul 2024 08:19:08 +0200 Subject: [PATCH] fix: customerDefaulter correct functionality --- src/components/VnTable/VnColumn.vue | 2 +- src/components/VnTable/VnOrder.vue | 4 +- src/components/VnTable/VnTable.vue | 12 +- src/components/common/VnComponent.vue | 5 +- .../Customer/Defaulter/CustomerDefaulter.vue | 383 +++++++----------- .../Notifications/CustomerNotifications.vue | 5 + 6 files changed, 159 insertions(+), 252 deletions(-) diff --git a/src/components/VnTable/VnColumn.vue b/src/components/VnTable/VnColumn.vue index da4687d32..2453e1607 100644 --- a/src/components/VnTable/VnColumn.vue +++ b/src/components/VnTable/VnColumn.vue @@ -147,7 +147,7 @@ const col = computed(() => { } if ( (newColumn.name.startsWith('is') || newColumn.name.startsWith('has')) && - !newColumn.component + newColumn.component == null ) newColumn.component = 'checkbox'; if ($props.default && !newColumn.component) newColumn.component = $props.default; diff --git a/src/components/VnTable/VnOrder.vue b/src/components/VnTable/VnOrder.vue index 1e1dc9e01..98c7ab392 100644 --- a/src/components/VnTable/VnOrder.vue +++ b/src/components/VnTable/VnOrder.vue @@ -1,7 +1,7 @@ @@ -78,6 +82,7 @@ const columns = computed(() => [ selection: 'multiple', }" v-model:selected="selected" + :right-search="false" :columns="columns" :use-model="true" auto-load