1
0
forked from test/crm

fix: hide export if hideColumnsButton is set

This commit is contained in:
Shariq Ansari 2025-02-28 16:41:02 +05:30
parent 22d2215e4a
commit 5661ebf805

View File

@ -193,9 +193,7 @@
@update="(isDefault) => updateColumns(isDefault)"
/>
<Dropdown
v-if="
!options.hideColumnsButton && route.params.viewType !== 'kanban'
"
v-if="route.params.viewType !== 'kanban'"
:options="[
{
group: __('Options'),
@ -205,6 +203,7 @@
label: __('Export'),
icon: () => h(ExportIcon, { class: 'h-4 w-4' }),
onClick: () => (showExportDialog = true),
condition: () => !options.hideColumnsButton,
},
{
label: __('Customize quick filters'),