From b1de329fd5c773ed3a9b90a917a977a60fe0ec97 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Wed, 9 Oct 2024 16:39:28 +0200 Subject: [PATCH] new check for zero --- frontend/src/scripts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/scripts/index.js b/frontend/src/scripts/index.js index b79d895..7c040a9 100644 --- a/frontend/src/scripts/index.js +++ b/frontend/src/scripts/index.js @@ -152,7 +152,7 @@ class Main extends Component { - {!this.state.login_status && + {Object.keys(this.state.login_status).length === 0 &&