Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

remove feature FEATURE_COPY_VIEW_CONFIG_FROM_ANOTHER_VIEW

Fendy Heryantob3803d83b2b5
diff --git a/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue b/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue
index b5fe624fc9..55b718279b 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/ViewActionMenu.vue
@@ -300,12 +300,12 @@ defineOptions({
})
"
>
- <PaymentUpgradeBadgeProvider :feature="PlanFeatureTypes.FEATURE_COPY_VIEW_CONFIG_FROM_ANOTHER_VIEW">
+ <PaymentUpgradeBadgeProvider :feature="PlanFeatureTypes.FEATURE_COPY_VIEW_SETTING_FROM_OTHER">
<template #default="{ click }">
<NcMenuItem
inner-class="w-full"
:disabled="(isPersonalView && !isViewOwner) || lockType === LockType.Locked"
- @click="click(PlanFeatureTypes.FEATURE_COPY_VIEW_CONFIG_FROM_ANOTHER_VIEW, () => onClickCopyViewConfig())"
+ @click="click(PlanFeatureTypes.FEATURE_COPY_VIEW_SETTING_FROM_OTHER, () => onClickCopyViewConfig())"
>
<div
v-e="[
@@ -322,7 +322,7 @@ defineOptions({
</div>
<div class="flex-1 w-full mr-1" />
<LazyPaymentUpgradeBadge
- :feature="PlanFeatureTypes.FEATURE_COPY_VIEW_CONFIG_FROM_ANOTHER_VIEW"
+ :feature="PlanFeatureTypes.FEATURE_COPY_VIEW_SETTING_FROM_OTHER"
:limit-or-feature="'to access copy view configuration from another view feature.' as PlanFeatureTypes"
:content="
$t('upgrade.upgradeToAccessCopyViewConfigFromAnotherViewSubtitle', {
diff --git a/packages/nocodb-sdk/src/lib/payment/index.ts b/packages/nocodb-sdk/src/lib/payment/index.ts
index b361d46a1a..8851952d81 100644
--- a/packages/nocodb-sdk/src/lib/payment/index.ts
+++ b/packages/nocodb-sdk/src/lib/payment/index.ts
@@ -62,7 +62,6 @@ export enum PlanFeatureTypes {
FEATURE_AI_BUTTON_FIELD = 'feature_ai_button_field',
FEATURE_DUPLICATE_TABLE_TO_OTHER_BASE = 'feature_duplicate_table_to_other_base',
FEATURE_DUPLICATE_TABLE_TO_OTHER_WS = 'feature_duplicate_table_to_other_ws',
- FEATURE_COPY_VIEW_CONFIG_FROM_ANOTHER_VIEW = 'feature_copy_view_config_from_another_view',
FEATURE_COPY_VIEW_SETTING_FROM_OTHER = 'feature_copy_view_setting_other',
}
@@ -260,10 +259,8 @@ export const PlanFeatureUpgradeMessages: Record<PlanFeatureTypes, string> = {
'to target different base when duplicate table.',
[PlanFeatureTypes.FEATURE_DUPLICATE_TABLE_TO_OTHER_WS]:
'to target different workspace when duplicate table.',
- [PlanFeatureTypes.FEATURE_COPY_VIEW_CONFIG_FROM_ANOTHER_VIEW]:
- 'to copy view configuration from another view.',
[PlanFeatureTypes.FEATURE_COPY_VIEW_SETTING_FROM_OTHER]:
- 'to copy setting from another view.',
+ 'to copy view configuration from another view.',
};
export const getUpgradeMessage = (