From a11dd6a5e9e8f7c409fd75a381bdebfe91dac48e Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 5 Jul 2024 13:05:57 +0200 Subject: [PATCH] feat: refs #6943 lock grid mode --- src/pages/Customer/Card/CustomerCredits.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pages/Customer/Card/CustomerCredits.vue b/src/pages/Customer/Card/CustomerCredits.vue index a485a7134..b93e1f340 100644 --- a/src/pages/Customer/Card/CustomerCredits.vue +++ b/src/pages/Customer/Card/CustomerCredits.vue @@ -4,8 +4,8 @@ import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; import { QBtn } from 'quasar'; import { toCurrency, toDateHourMin } from 'src/filters'; -import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; import VnTable from 'components/VnTable/VnTable.vue'; +import VnUserLink from 'src/components/ui/VnUserLink.vue'; const { t } = useI18n(); const route = useRoute(); @@ -34,11 +34,8 @@ const columns = computed(() => [ }, { align: 'left', - field: (value) => value?.worker?.user?.name, label: t('Employee'), name: 'employee', - component: QBtn, // workerDescriptorProxy is missing - attrs: { flat: true, color: 'blue', noCaps: true }, }, { align: 'left', @@ -62,7 +59,12 @@ const columns = computed(() => [ :is-editable="false" :use-model="true" :column-search="false" - /> + :disable-option="{ card: true }" + > + +