Client: SelectedFolderStore: added indexing prop

This commit is contained in:
Dmitry Sychugov 2024-04-17 20:21:30 +05:00
parent bf1bd01793
commit 8c3fe05203

View File

@ -141,6 +141,8 @@ class SelectedFolderStore {
parentRoomType: Nullable<FolderType> = null;
indexing = false;
constructor(settingsStore: SettingsStore) {
makeAutoObservable(this);
this.settingsStore = settingsStore;
@ -185,6 +187,7 @@ class SelectedFolderStore {
type: this.type,
isRootFolder: this.isRootFolder,
parentRoomType: this.parentRoomType,
indexing: this.indexing,
};
};
@ -230,6 +233,7 @@ class SelectedFolderStore {
this.type = null;
this.inRoom = false;
this.parentRoomType = null;
this.indexing = false;
};
setParentId = (parentId: number) => {