Web: fix update file version

This commit is contained in:
Alexey Safronov 2023-06-14 22:22:43 +04:00
parent 5ee14090cc
commit 06942fe52b

View File

@ -337,7 +337,13 @@ class FilesStore {
//To update a file version
if (foundIndex > -1 && !this.authStore.settingsStore.withPaging) {
//this.getFileInfo(file.id);
if (
this.files[foundIndex].version !== file.version ||
this.files[foundIndex].versionGroup !== file.versionGroup
) {
this.files[foundIndex].version = file.version;
this.files[foundIndex].versionGroup = file.versionGroup;
}
this.checkSelection(file);
}