mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
chore: Clean up Schema Preview feature flag (no-changelog) (#15191)
This commit is contained in:
@@ -43,7 +43,6 @@ import {
|
||||
MAX_DISPLAY_DATA_SIZE,
|
||||
MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW,
|
||||
NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND,
|
||||
SCHEMA_PREVIEW_EXPERIMENT,
|
||||
TEST_PIN_DATA,
|
||||
} from '@/constants';
|
||||
|
||||
@@ -90,7 +89,6 @@ import { useRoute } from 'vue-router';
|
||||
import { useUIStore } from '@/stores/ui.store';
|
||||
import { useSchemaPreviewStore } from '@/stores/schemaPreview.store';
|
||||
import { asyncComputed } from '@vueuse/core';
|
||||
import { usePostHog } from '@/stores/posthog.store';
|
||||
import ViewSubExecution from './ViewSubExecution.vue';
|
||||
import RunDataItemCount from '@/components/RunDataItemCount.vue';
|
||||
import RunDataDisplayModeSelect from '@/components/RunDataDisplayModeSelect.vue';
|
||||
@@ -231,7 +229,6 @@ const sourceControlStore = useSourceControlStore();
|
||||
const rootStore = useRootStore();
|
||||
const uiStore = useUIStore();
|
||||
const schemaPreviewStore = useSchemaPreviewStore();
|
||||
const posthogStore = usePostHog();
|
||||
|
||||
const toast = useToast();
|
||||
const route = useRoute();
|
||||
@@ -585,13 +582,7 @@ const hasInputOverwrite = computed((): boolean => {
|
||||
const isSchemaPreviewEnabled = computed(
|
||||
() =>
|
||||
props.paneType === 'input' &&
|
||||
!(nodeType.value?.codex?.categories ?? []).some(
|
||||
(category) => category === CORE_NODES_CATEGORY,
|
||||
) &&
|
||||
posthogStore.isVariantEnabled(
|
||||
SCHEMA_PREVIEW_EXPERIMENT.name,
|
||||
SCHEMA_PREVIEW_EXPERIMENT.variant,
|
||||
),
|
||||
!(nodeType.value?.codex?.categories ?? []).some((category) => category === CORE_NODES_CATEGORY),
|
||||
);
|
||||
|
||||
const hasPreviewSchema = asyncComputed(async () => {
|
||||
|
||||
Reference in New Issue
Block a user