Browse Source

feat(nc-gui): enable share view button & disable export button for kanban

pull/3818/head
Wing-Kam Wong 2 years ago
parent
commit
6af77303c2
  1. 6
      packages/nc-gui/components/smartsheet/Toolbar.vue

6
packages/nc-gui/components/smartsheet/Toolbar.vue

@ -36,9 +36,11 @@ const { allowCSVDownload } = useSharedView()
<SmartsheetToolbarSortListMenu v-if="isGrid || isGallery || isKanban" />
<SmartsheetToolbarShareView v-if="(isForm || isGrid) && !isPublic" />
<SmartsheetToolbarShareView v-if="(isForm || isGrid || isKanban) && !isPublic" />
<SmartsheetToolbarExport v-if="(!isPublic && !isUIAllowed('dataInsert')) || (isPublic && allowCSVDownload)" />
<SmartsheetToolbarExport
v-if="(!isPublic && !isUIAllowed('dataInsert') && !isKanban) || (isPublic && allowCSVDownload && !isKanban)"
/>
<div class="flex-1" />
<SmartsheetToolbarReload v-if="!isPublic && !isForm" class="mx-1" />

Loading…
Cancel
Save