Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-2421 (pull request #623)
Browse files Browse the repository at this point in the history
Fixed preview button when no response received
  • Loading branch information
rmathis committed Oct 31, 2022
2 parents 3b8f4db + e32e865 commit 1de8714
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/app/form/component/templates/FieldTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function FieldTemplate ({

return (
<>{!props.hidden ?
<Form.Group className="mb-3">
<Form.Group className="mb-3" id={`${id}-group`}>
<div>
{children}
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/hoc/FilterTargetPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function FilterTargetPreview ({ entityId, children }) {

return (
<React.Fragment>
{children(preview, loading, data)}
{children(data ? preview : null, loading, data)}
<Modal show={show} onHide={handleClose} dialogClassName="modal-xl">
<Modal.Header closeButton>
<Modal.Title><Translate value="label.preview-provider">Preview XML</Translate></Modal.Title>
Expand Down

0 comments on commit 1de8714

Please sign in to comment.