Client: create indexColumnSize getter
This commit is contained in:
parent
e4dbd0df7a
commit
4dfce3d3d6
@ -3992,6 +3992,15 @@ class FilesStore {
|
||||
return this.filter.total;
|
||||
}
|
||||
|
||||
get indexColumnSize() {
|
||||
if (!this.indexingStore.isIndexing) return;
|
||||
|
||||
let minWidth = 36;
|
||||
const lastFile = this.filesList[this.filesList.length - 1];
|
||||
|
||||
return minWidth + lastFile?.order?.length * 3;
|
||||
}
|
||||
|
||||
get hasMoreFiles() {
|
||||
const { isRoomsFolder, isArchiveFolder } = this.treeFoldersStore;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user