saving newly applied config to the database to ensure new keys are set to their default values

should avoid the website refreshing on login multiple times #1210
This commit is contained in:
Miodec 2021-05-09 13:59:37 +01:00
parent 83c7c6e616
commit ef74b85d15

View file

@ -117,6 +117,7 @@ export function getDataAndInit() {
if ($(".page.pageTest").hasClass("active")) {
TestLogic.restart(false, true);
}
DB.saveConfig(Config);
}
}
UpdateConfig.setDbConfigLoaded(true);