fix: Highlight states and dropzones when user does not have permission to import
This commit is contained in:
@@ -170,6 +170,7 @@ function CollectionScene() {
|
||||
accept={documents.importFileTypes.join(", ")}
|
||||
onDropAccepted={handleFiles}
|
||||
onDropRejected={handleRejection}
|
||||
disabled={!can.update}
|
||||
noClick
|
||||
multiple
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user