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>
<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">
<NcButton
v-e="['c:view:option']"

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

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

Loading…
Cancel
Save