mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
feat(editor): Enable NodeView.switcher by default in dev mode (no-changelog) (#10165)
This commit is contained in:
@@ -96,7 +96,7 @@ const importFileRef = ref<HTMLInputElement | undefined>();
|
|||||||
const tagsEventBus = createEventBus();
|
const tagsEventBus = createEventBus();
|
||||||
const sourceControlModalEventBus = createEventBus();
|
const sourceControlModalEventBus = createEventBus();
|
||||||
|
|
||||||
const nodeViewSwitcher = useLocalStorage('NodeView.switcher', '');
|
const nodeViewSwitcher = useLocalStorage('NodeView.switcher', import.meta.env.DEV ? 'true' : '');
|
||||||
const nodeViewVersion = useLocalStorage('NodeView.version', '1');
|
const nodeViewVersion = useLocalStorage('NodeView.version', '1');
|
||||||
|
|
||||||
const hasChanged = (prev: string[], curr: string[]) => {
|
const hasChanged = (prev: string[], curr: string[]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user