feat(editor): Roll out schema view (#5310)

feat(editor): roll out schema view
This commit is contained in:
Mutasem Aldmour 2023-01-31 17:20:33 +03:00 committed by GitHub
parent 07b941a043
commit 2b1f15150f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -657,7 +657,7 @@ export default mixins(externalHooks, genericHelpers, nodeHelpers, pinData).exten
defaults.push({ label: this.$locale.baseText('runData.binary'), value: 'binary' });
}
if (this.isPaneTypeInput && window.posthog?.isFeatureEnabled?.('schema-view')) {
if (this.isPaneTypeInput) {
defaults.unshift({ label: this.$locale.baseText('runData.schema'), value: 'schema' });
}

View file

@ -11,7 +11,7 @@ export const useNDVStore = defineStore(STORES.NDV, {
mainPanelDimensions: {},
sessionId: '',
input: {
displayMode: window.posthog?.isFeatureEnabled?.('schema-view') ? 'schema' : 'table',
displayMode: 'schema',
nodeName: undefined,
run: undefined,
branch: undefined,