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…
Reference in New Issue