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

Loading…
Cancel
Save