Skip to content

Commit

Permalink
Fixed warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Oct 25, 2021
1 parent 006b7fb commit f9fd5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/metadata/editor/MetadataFilterEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function MetadataFilterEditor({children, onNavigate, block}) {
<p className="m-0"><FontAwesomeIcon icon={faExclamationTriangle} size="lg" className="mr-2" /> <Translate value="message.editor-invalid" /></p>
</Alert>
}
{errors.length === 0 && warnings && warnings.hasOwnProperty(section) &&
{warnings && warnings.hasOwnProperty(section) &&
<Alert variant="danger" className="align-self-start alert-compact mt-3 mt-lg-0">
{warnings[section].map((w, widx) =>
<p className="m-0" key={widx}>
Expand Down

0 comments on commit f9fd5af

Please sign in to comment.