refactor(editor): Re-organize n8n logo files (no-changelog) (#8483)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-02-16 10:42:32 +01:00
committed by GitHub
parent d33d953497
commit 8c665e4d20
17 changed files with 7 additions and 11 deletions

View File

@@ -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();