Browse Source

fix: Hide import and export option in view menu for form view

pull/6888/head
Muhammed Mustafa 1 year ago
parent
commit
65797c01c6
  1. 3
      packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue

3
packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue

@ -174,6 +174,7 @@ const onDelete = async () => {
<NcDivider />
</template>
<template v-if="view.type !== ViewTypes.FORM">
<template v-if="isUIAllowed('csvTableImport') && !isPublicView">
<NcSubMenu key="upload">
<template #title>
@ -233,8 +234,8 @@ const onDelete = async () => {
<LazySmartsheetToolbarExportSubActions />
</NcSubMenu>
<NcDivider />
</template>
<NcSubMenu v-if="isUIAllowed('viewCreateOrEdit')" key="lock-type" class="scrollbar-thin-dull max-h-90vh overflow-auto !py-0">
<template #title>

Loading…
Cancel
Save