Merge branch 'develop' into bugfix/fixed-dbclick-zoom

This commit is contained in:
DmitrySychugov 2023-02-20 16:27:57 +05:00
commit f829931b5a

View File

@ -181,6 +181,8 @@ class FilesStore {
const newFiles = [fileInfo, ...this.files];
if (this.files.findIndex((x) => x.id === opt?.id) > -1) return;
if (newFiles.length > this.filter.pageCount && withPaging) {
newFiles.pop(); // Remove last
}