Skip to content

Commit 7306193

Browse files
committed
upload/download only work with fs access api
1 parent 634c500 commit 7306193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/fs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ export const OpfsExplorer: Component<
558558
this.uploading = false;
559559
};
560560

561-
const uploadDisabled = use(this.uploading, (x) => x || FSAPI_UNAVAILABLE);
562-
const downloadDisabled = use(this.downloading, (x) => x || FSAPI_UNAVAILABLE);
561+
const uploadDisabled = use(this.uploading, (x) => x || PICKERS_UNAVAILABLE);
562+
const downloadDisabled = use(this.downloading, (x) => x || PICKERS_UNAVAILABLE);
563563

564564
return (
565565
<div>

0 commit comments

Comments
 (0)