Skip to content

Commit

Permalink
Fix theme not changing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shaked-hayek committed Mar 2, 2024
1 parent b68095b commit b478d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/settings.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default class SettingsStore {
}

get theme(): Theme {
const organizationName = this.rootStore.userStore.orgNamesList ? this.rootStore.userStore.orgNamesList[0] : '';
const organizationName = this.rootStore.userStore.userOrganizations ? this.rootStore.userStore.userOrganizations[0] : '';
if (organizationName !== this.currentThemeName) {
this.currentThemeName = organizationName as ThemeNames;
const new_theme_data : Theme | undefined = themeOptions[this.currentThemeName];
Expand Down

0 comments on commit b478d3b

Please sign in to comment.