fix: Highlight states and dropzones when user does not have permission to import

This commit is contained in:
Tom Moor
2021-04-10 13:54:05 -07:00
parent de25ea0ed9
commit 2a6dfdea5d
2 changed files with 5 additions and 2 deletions

View File

@@ -170,6 +170,7 @@ function CollectionScene() {
accept={documents.importFileTypes.join(", ")}
onDropAccepted={handleFiles}
onDropRejected={handleRejection}
disabled={!can.update}
noClick
multiple
>