|
|
|
@ -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> |
|
|
|
|