refactor(editor): Re-organize n8n logo files (no-changelog) (#8483)
This commit is contained in:
committed by
GitHub
parent
d33d953497
commit
8c665e4d20
@@ -192,11 +192,10 @@ export const useUIStore = defineStore(STORES.UI, {
|
||||
},
|
||||
logo(): string {
|
||||
const { releaseChannel } = useSettingsStore().settings;
|
||||
const type = this.appliedTheme === 'dark' ? '-dark-mode.svg' : '.svg';
|
||||
|
||||
return releaseChannel === 'stable'
|
||||
? `n8n-logo-expanded${type}`
|
||||
: `n8n-${releaseChannel}-logo${type}`;
|
||||
const suffix = this.appliedTheme === 'dark' ? '-dark.svg' : '.svg';
|
||||
return `static/logo/${
|
||||
releaseChannel === 'stable' ? 'expanded' : `channel/${releaseChannel}`
|
||||
}${suffix}`;
|
||||
},
|
||||
contextBasedTranslationKeys() {
|
||||
const settingsStore = useSettingsStore();
|
||||
|
||||
Reference in New Issue
Block a user