1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix this reference

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-11-10 13:36:51 +03:00
parent 3854a45308
commit eb3c84bae5

View File

@ -89,7 +89,7 @@ export class UserStore extends BaseStore<UserStoreModel> {
@action
async resetTheme() {
await userStore.whenLoaded;
await this.whenLoaded;
this.preferences.colorTheme = UserStore.defaultTheme;
}