From 9fe5165a60d4ce551412375ef4d82e583d7ec7b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?K=C3=A9vin=20Cocchi?= <kevin.cocchi@gmail.com>
Date: Sat, 30 Sep 2023 15:30:52 +0200
Subject: [PATCH] Properly mark as loading on reload

---
 web/src/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/src/index.js b/web/src/index.js
index 73591bc..8ef30c9 100644
--- a/web/src/index.js
+++ b/web/src/index.js
@@ -196,7 +196,7 @@ class App extends Component {
 	reloadPacks() {
 		this.imageObserver.disconnect()
 		this.sectionObserver.disconnect()
-		this.setState({ packs: defaultState.packs })
+		this.setState({ packs: defaultState.packs, loading: true })
 		this.resetSearch()
 		this._loadPacks(true)
 	}
-- 
GitLab