fix: Database modal parameter inputs persisting after modal closed and reopened (#23686)

This commit is contained in:
Jack Fragassi 2023-04-17 09:33:29 -07:00 committed by GitHub
parent 810f52b924
commit 3d10296f4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -457,7 +457,7 @@ const ExtraOptions = ({
}
width="100%"
height="160px"
defaultValue={
value={
!Object.keys(extraJson?.metadata_params || {}).length
? ''
: extraJson?.metadata_params
@ -483,7 +483,7 @@ const ExtraOptions = ({
}
width="100%"
height="160px"
defaultValue={
value={
!Object.keys(extraJson?.engine_params || {}).length
? ''
: extraJson?.engine_params