mirror of
https://github.com/zotero/zotero.git
synced 2026-09-12 23:01:22 +00:00
Only show the download status when the model actually needs downloading
This commit is contained in:
parent
80d9c05648
commit
92853d6d90
1 changed files with 1 additions and 1 deletions
|
|
@ -1381,7 +1381,7 @@ Zotero.Embeddings.Indexing = new function () {
|
|||
try {
|
||||
await Zotero.Embeddings.initDB();
|
||||
await _ensureIndexMatchesModel();
|
||||
_phase = 'downloading';
|
||||
_phase = (await Zotero.Embeddings.isDownloaded()) ? 'indexing' : 'downloading';
|
||||
_emitProgress();
|
||||
await Zotero.Embeddings.Indexing.refreshStatus();
|
||||
await Zotero.Embeddings.preloadModel();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue