Skip to content

Commit

Permalink
Fixed preview button when no response received
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 26, 2022
1 parent e0f1808 commit 01aa771
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)}
{data && children(preview, 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 01aa771

Please sign in to comment.