mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-03-01 01:40:42 +00:00
Disable upload button if filesToUpload is null (#856)
This commit is contained in:
parent
4c20759e37
commit
746a20bc4c
@ -492,6 +492,7 @@ export default function ProcessModelShow() {
|
||||
open={showFileUploadModal}
|
||||
modalHeading="Upload File"
|
||||
primaryButtonText="Upload"
|
||||
primaryButtonDisabled={filesToUpload === null}
|
||||
secondaryButtonText="Cancel"
|
||||
onSecondarySubmit={handleFileUploadCancel}
|
||||
onRequestClose={handleFileUploadCancel}
|
||||
|
Loading…
x
Reference in New Issue
Block a user