Fixed Bug 57933 - Client.Files.Info. Fixed console error ‘Uncaught (in promise) TypeError: l.findIndex is not a function’
This commit is contained in:
parent
d1677a8070
commit
d8291efa30
@ -139,7 +139,7 @@ class FilesStore {
|
||||
}
|
||||
|
||||
if (this.bufferSelection) {
|
||||
const foundIndex = this.bufferSelection?.findIndex(
|
||||
const foundIndex = [this.bufferSelection].findIndex(
|
||||
(x) => x.id === file.id
|
||||
);
|
||||
if (foundIndex > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user