feat(editor): Improve errors in output panel (#8644)
Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
@@ -30,6 +30,7 @@ export const useRootStore = defineStore(STORES.ROOT, {
|
||||
urlBaseEditor: 'http://localhost:5678',
|
||||
isNpmAvailable: false,
|
||||
instanceId: '',
|
||||
binaryDataMode: 'default',
|
||||
}),
|
||||
getters: {
|
||||
getBaseUrl(): string {
|
||||
@@ -128,5 +129,8 @@ export const useRootStore = defineStore(STORES.ROOT, {
|
||||
setIsNpmAvailable(isNpmAvailable: boolean): void {
|
||||
this.isNpmAvailable = isNpmAvailable;
|
||||
},
|
||||
setBinaryDataMode(binaryDataMode: string): void {
|
||||
this.binaryDataMode = binaryDataMode;
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -280,6 +280,7 @@ export const useSettingsStore = defineStore(STORES.SETTINGS, {
|
||||
rootStore.setN8nMetadata(settings.n8nMetadata || {});
|
||||
rootStore.setDefaultLocale(settings.defaultLocale);
|
||||
rootStore.setIsNpmAvailable(settings.isNpmAvailable);
|
||||
rootStore.setBinaryDataMode(settings.binaryDataMode);
|
||||
|
||||
useVersionsStore().setVersionNotificationSettings(settings.versionNotifications);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user