diff options
-rw-r--r-- | frontend/src/ts/controllers/account-controller.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/src/ts/controllers/account-controller.ts b/frontend/src/ts/controllers/account-controller.ts index 70191802c..c60b5d21e 100644 --- a/frontend/src/ts/controllers/account-controller.ts +++ b/frontend/src/ts/controllers/account-controller.ts @@ -48,6 +48,7 @@ import { navigate } from "./route-controller"; import { FirebaseError } from "firebase/app"; import * as PSA from "../elements/psa"; import defaultResultFilters from "../constants/default-result-filters"; +import { getActiveFunboxes } from "../test/funbox/list"; export const gmailProvider = new GoogleAuthProvider(); export const githubProvider = new GithubAuthProvider(); @@ -171,6 +172,11 @@ async function getDataAndInit(): Promise<boolean> { ); await UpdateConfig.apply(snapshot.config); UpdateConfig.saveFullConfigToLocalStorage(true); + + //funboxes might be different and they wont activate on the account page + for (const fb of getActiveFunboxes()) { + fb.functions?.applyGlobalCSS?.(); + } } AccountButton.loading(false); TagController.loadActiveFromLocalStorage(); |