From 4f927faeb4a3f28eb129d3183e966c9277a32240 Mon Sep 17 00:00:00 2001 From: Davide Passoni Date: Thu, 30 Jan 2025 16:23:19 +0100 Subject: [PATCH] fix: Fixed wrong server code activation --- frontend/react/src/olympusapp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/react/src/olympusapp.ts b/frontend/react/src/olympusapp.ts index b00a7bf6..31acd33d 100644 --- a/frontend/react/src/olympusapp.ts +++ b/frontend/react/src/olympusapp.ts @@ -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();