Browse Source

fic(nc-gui): double divider issue in view options dropdown

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

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

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

Loading…
Cancel
Save