diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 14f925281..1f0223aa6 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -116,14 +116,14 @@ const tableModes = [ title: t('table view'), value: TABLE_MODE, disable: $props.disableOption?.table, - visible: $props.disableOption?.table, + // visible: $props.disableOption?.table, }, { icon: 'grid_view', title: t('grid view'), value: CARD_MODE, disable: $props.disableOption?.card, - visible: $props.disableOption?.card, + // visible: $props.disableOption?.card, }, ]; onBeforeMount(() => { @@ -389,7 +389,7 @@ defineExpose({ toggle-color="primary" class="bg-vn-section-color" dense - :options="tableModes.filter((mode) => !mode.visible)" + :options="tableModes.filter((mode) => !mode.disable)" /> [ name: 'tableActions', actions: [ { - title: t('View summary'), + title: t('component.smartCard.viewSummary'), icon: 'preview', action: (row) => viewSummary(row.id, ClaimSummary), }, @@ -155,7 +155,6 @@ es: You can search by claim id or customer name: Puedes buscar por id de la reclamación o nombre del cliente params: stateCode: Estado - View summary: Ver resumen en: params: stateCode: State diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index 30181ebe4..0a6234f21 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -357,7 +357,7 @@ const columns = computed(() => [ isPrimary: true, }, { - title: t('View Summary'), + title: t('component.smartCard.viewSummary'), icon: 'preview', action: (row) => viewSummary(row.id, CustomerSummary), }, @@ -432,7 +432,6 @@ function handleLocation(data, location) { es: Web user: Usuario Web - View Summary: Ver resumen diff --git a/src/pages/Worker/WorkerList.vue b/src/pages/Worker/WorkerList.vue index b0b8e5fb5..738f51340 100644 --- a/src/pages/Worker/WorkerList.vue +++ b/src/pages/Worker/WorkerList.vue @@ -77,7 +77,7 @@ const columns = computed(() => [ name: 'tableActions', actions: [ { - title: t('View Summary'), + title: t('component.smartCard.viewSummary'), icon: 'preview', action: (row) => viewSummary(row.id, WorkerSummary), }, @@ -342,5 +342,4 @@ async function autofillBic(worker) { es: Search worker: Buscar trabajador You can search by worker id or name: Puedes buscar por id o nombre del trabajador - View Summary: Ver resumen