diff --git a/shell/mixins/brand.js b/shell/mixins/brand.js index e320dd664a..9bb401a4f0 100644 --- a/shell/mixins/brand.js +++ b/shell/mixins/brand.js @@ -12,16 +12,15 @@ export default { this.apps = await this.$store.dispatch('management/findAll', { type: CATALOG.APP }); } } catch (e) {} + + this.globalSettings = await this.$store.dispatch('management/findAll', { type: MANAGEMENT.SETTING }); }, data() { - return { apps: [] }; + return { apps: [], globalSettings: [] }; }, computed: { - globalSettings() { - return this.$store.getters['management/all'](MANAGEMENT.SETTING); - }, brand() { const setting = findBy(this.globalSettings, 'id', SETTING.BRAND);