Merge branch 'develop' into bugfix/fixed-dbclick-zoom
This commit is contained in:
commit
f829931b5a
@ -181,6 +181,8 @@ class FilesStore {
|
|||||||
|
|
||||||
const newFiles = [fileInfo, ...this.files];
|
const newFiles = [fileInfo, ...this.files];
|
||||||
|
|
||||||
|
if (this.files.findIndex((x) => x.id === opt?.id) > -1) return;
|
||||||
|
|
||||||
if (newFiles.length > this.filter.pageCount && withPaging) {
|
if (newFiles.length > this.filter.pageCount && withPaging) {
|
||||||
newFiles.pop(); // Remove last
|
newFiles.pop(); // Remove last
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user