fix: Fixed wrong server code activation

This commit is contained in:
Davide Passoni 2025-01-30 16:23:19 +01:00
parent 9525982161
commit 4f927faeb4

View File

@ -179,7 +179,7 @@ export class OlympusApp {
const urlParams = new URLSearchParams(window.location.search);
const server = urlParams.get("server");
if (!server) {
if (server === null) {
this.setState(OlympusState.IDLE);
/* If no profile exists already with that name, create it from scratch from the defaults */
if (this.getProfile() === null) this.saveProfile();