fixed log

This commit is contained in:
Jack 2021-09-21 23:15:35 +01:00
parent f4480771d2
commit 4854502621

View file

@ -134,7 +134,6 @@ export async function getDataAndInit() {
// if($(".pageAccount").hasClass('active')) update();
// if ($(".pageLogin").hasClass("active")) UI.changePage("account");
if (!UpdateConfig.changedBeforeDb) {
console.log("config changed before db");
if (Config.localStorageConfig === null) {
AccountButton.loading(false);
UpdateConfig.apply(DB.getSnapshot().config);
@ -191,6 +190,7 @@ export async function getDataAndInit() {
}
UpdateConfig.setDbConfigLoaded(true);
} else {
console.log("config changed before db");
AccountButton.loading(false);
}
if (Config.paceCaret === "pb" || Config.paceCaret === "average") {