Skip to content

Commit

Permalink
Fixed issue with preview
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 31, 2022
1 parent 7fb48d4 commit e32e865
Showing 1 changed file with 1 addition and 1 deletion.
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>
{data && 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 e32e865

Please sign in to comment.