forked from FoundKeyGang/FoundKey
parent
ae0a7b668f
commit
00332ed37f
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) {
|
function choose(choice: foundkey.entities.DriveFile | foundkey.entities.DriveFolder, extendSelection: boolean) {
|
||||||
const alreadySelected = selectedFiles.some(f => f.id === file.id);
|
const alreadySelected = selected.some(f => f.id === file.id);
|
||||||
|
|
||||||
const action = (() => {
|
const action = (() => {
|
||||||
if (props.select != null) {
|
if (props.select != null) {
|
||||||
|
|
Loading…
Reference in a new issue