Browse Source

fix(nc-gui): shared base view option is not visible in sidebar

pull/7573/head
Ramesh Mane 10 months ago
parent
commit
66dac8ced6
  1. 2
      packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue
  2. 2
      packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue

2
packages/nc-gui/components/dashboard/TreeView/ViewsNode.vue

@ -256,7 +256,7 @@ watch(isDropdownOpen, async () => {
</NcTooltip> </NcTooltip>
<div class="flex-1" /> <div class="flex-1" />
<template v-if="!isEditing && !isLocked && isUIAllowed('viewCreateOrEdit')"> <template v-if="!isEditing && !isLocked">
<NcDropdown v-model:visible="isDropdownOpen" overlay-class-name="!rounded-lg"> <NcDropdown v-model:visible="isDropdownOpen" overlay-class-name="!rounded-lg">
<NcButton <NcButton
v-e="['c:view:option']" v-e="['c:view:option']"

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

@ -161,7 +161,7 @@ const onDelete = async () => {
</NcButton> </NcButton>
</div> </div>
</NcTooltip> </NcTooltip>
<NcDivider /> <NcDivider v-if="view.type !== ViewTypes.FORM" />
<template v-if="!view?.is_default && isUIAllowed('viewCreateOrEdit')"> <template v-if="!view?.is_default && isUIAllowed('viewCreateOrEdit')">
<NcMenuItem v-if="lockType !== LockType.Locked" @click="onRenameMenuClick"> <NcMenuItem v-if="lockType !== LockType.Locked" @click="onRenameMenuClick">
<GeneralIcon icon="rename" /> <GeneralIcon icon="rename" />

Loading…
Cancel
Save