Web: Client: IndexingStore: fixed exit from index editing mode

This commit is contained in:
Dmitry Sychugov 2024-05-16 19:37:10 +05:00
parent 75abe1a629
commit 2c50e66e94

View File

@ -38,6 +38,8 @@ class IndexingStore {
}
setIsIndexing = (indexing) => {
// turn off the mode if we are no longer in indexed folders
if (!indexing && this.isIndexEditingMode) this.setIsIndexEditingMode(false);
this.isIndexing = indexing;
};