diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-05-18 08:05:42 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-31 12:11:56 -0300 |
commit | 8973da6ee1401ea7f0882a8c13f875e8e3f3d5c2 (patch) | |
tree | 4c21ed91d44a66690da5b23285477045e28ebeb2 | |
parent | 4c77ada1015fb374d3775d1aeea4ed9da67323a1 (diff) |
client: fix download progress not showing above preparing
-rw-r--r-- | src/static/js/client.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/static/js/client.js b/src/static/js/client.js index 8e731dfd..124c8414 100644 --- a/src/static/js/client.js +++ b/src/static/js/client.js @@ -4084,14 +4084,6 @@ function updateSidebarSearchStatus() { return; } - if (state.searchStage === 'preparing') { - showSidebarSearchProgress( - null, - templateContent(info.preparingString)); - - return; - } - const searchIndexDownloads = getSearchWorkerDownloadContext('search-indexes'); @@ -4108,6 +4100,14 @@ function updateSidebarSearchStatus() { return; } + if (state.searchStage === 'preparing') { + showSidebarSearchProgress( + null, + templateContent(info.preparingString)); + + return; + } + if (state.searchStage === 'searching') { showSidebarSearchProgress( null, |