Browse Source

fix(nc-gui): shared base view option access nocodb/nocodb/7572

pull/7573/head
Ramesh Mane 10 months ago
parent
commit
8902c4fc9d
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue

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

@ -162,7 +162,7 @@ const onDelete = async () => {
</div>
</NcTooltip>
<NcDivider />
<template v-if="!view?.is_default">
<template v-if="!view?.is_default && isUIAllowed('viewCreateOrEdit')">
<NcMenuItem v-if="lockType !== LockType.Locked" @click="onRenameMenuClick">
<GeneralIcon icon="rename" />
{{ $t('activity.renameView') }}
@ -283,7 +283,7 @@ const onDelete = async () => {
</NcSubMenu>
</template>
<template v-if="!view.is_default">
<template v-if="!view.is_default && isUIAllowed('viewCreateOrEdit')">
<NcDivider />
<NcTooltip v-if="lockType === LockType.Locked">
<template #title> {{ $t('msg.info.disabledAsViewLocked') }} </template>

Loading…
Cancel
Save