Skip to content

Commit

Permalink
Merge pull request #1059 from data-for-change/fix-theme-not-changing-…
Browse files Browse the repository at this point in the history
…issue

Fix theme not changing issue
  • Loading branch information
atalyaalon authored Mar 2, 2024
2 parents b68095b + b478d3b commit eb095d4
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 eb095d4

Please sign in to comment.