forked from FoundKeyGang/FoundKey
client: fix undefined variable in drive component
closes FoundKeyGang/FoundKey#360
This commit is contained in:
parent
59da6063cb
commit
48363a90ef
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ function upload(file: File, folderToUpload?: foundkey.entities.DriveFolder | nul
|
|||
}
|
||||
|
||||
function choose(choice: foundkey.entities.DriveFile | foundkey.entities.DriveFolder, extendSelection: boolean) {
|
||||
const alreadySelected = selected.some(f => f.id === file.id);
|
||||
const alreadySelected = selected.some(f => f.id === choice.id);
|
||||
|
||||
const action = (() => {
|
||||
if (props.select != null) {
|
||||
|
|
Loading…
Reference in a new issue