Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/client/src/ce/entities/FeatureFlag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export const FEATURE_FLAG = {
"release_jsobjects_onpageunloadactions_enabled",
configure_block_event_tracking_for_anonymous_users:
"configure_block_event_tracking_for_anonymous_users",
release_paid_features_tagging: "release_paid_features_tagging",
} as const;

export type FeatureFlag = keyof typeof FEATURE_FLAG;
Expand Down Expand Up @@ -117,7 +116,6 @@ export const DEFAULT_FEATURE_FLAG_VALUE: FeatureFlags = {
license_ai_agent_instance_enabled: false,
release_jsobjects_onpageunloadactions_enabled: false,
configure_block_event_tracking_for_anonymous_users: false,
release_paid_features_tagging: false,
};

export const AB_TESTING_EVENT_KEYS = {
Expand Down
7 changes: 1 addition & 6 deletions app/client/src/pages/Editor/DataSidePane/DataSidePane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ export const DataSidePane = (props: DataSidePaneProps) => {
);

const isFeatureEnabled = useFeatureFlag(FEATURE_FLAG.license_gac_enabled);
const isPaidFeaturesTaggingEnabled = useFeatureFlag(
FEATURE_FLAG.release_paid_features_tagging,
);

const canCreateDatasource = getHasCreateDatasourcePermission(
isFeatureEnabled,
Expand Down Expand Up @@ -113,8 +110,6 @@ export const DataSidePane = (props: DataSidePaneProps) => {

const shouldShowPremiumTag = useCallback(
(datasource: Datasource) => {
if (!isPaidFeaturesTaggingEnabled) return false;

const plugin = plugins.find((p) => p.id === datasource.pluginId);

if (!plugin) return false;
Expand All @@ -128,7 +123,7 @@ export const DataSidePane = (props: DataSidePaneProps) => {

return false;
},
[plugins, isIntegrationsEnabledForPaid, isPaidFeaturesTaggingEnabled],
[plugins, isIntegrationsEnabledForPaid],
);

return (
Expand Down
Loading