|
|
@ -237,15 +237,17 @@ const onDelete = async () => { |
|
|
|
<LazySmartsheetToolbarLockType :type="LockType.Locked" @click="changeLockType(LockType.Locked)" /> |
|
|
|
<LazySmartsheetToolbarLockType :type="LockType.Locked" @click="changeLockType(LockType.Locked)" /> |
|
|
|
</a-menu-item> |
|
|
|
</a-menu-item> |
|
|
|
</NcSubMenu> |
|
|
|
</NcSubMenu> |
|
|
|
<NcDivider /> |
|
|
|
<template v-if="!view.is_default"> |
|
|
|
<NcMenuItem class="!hover:bg-red-50 !text-red-500" @click="onDelete"> |
|
|
|
<NcDivider /> |
|
|
|
<GeneralIcon icon="delete" /> |
|
|
|
<NcMenuItem class="!hover:bg-red-50 !text-red-500" @click="onDelete"> |
|
|
|
{{ |
|
|
|
<GeneralIcon icon="delete" /> |
|
|
|
$t('general.deleteEntity', { |
|
|
|
{{ |
|
|
|
entity: $t('objects.view'), |
|
|
|
$t('general.deleteEntity', { |
|
|
|
}) |
|
|
|
entity: $t('objects.view'), |
|
|
|
}} |
|
|
|
}) |
|
|
|
</NcMenuItem> |
|
|
|
}} |
|
|
|
|
|
|
|
</NcMenuItem> |
|
|
|
|
|
|
|
</template> |
|
|
|
<template v-if="currentBaseId"> |
|
|
|
<template v-if="currentBaseId"> |
|
|
|
<LazyDlgQuickImport |
|
|
|
<LazyDlgQuickImport |
|
|
|
v-for="tp in quickImportDialogTypes" |
|
|
|
v-for="tp in quickImportDialogTypes" |
|
|
|