Skip to content

Commit

Permalink
Merged in bugfix/SHIBUI-2183 (pull request #554)
Browse files Browse the repository at this point in the history
Fixed warning message

Approved-by: Bill Smith
Approved-by: Jonathan Johnson
  • Loading branch information
rmathis authored and Jonathan Johnson committed Nov 1, 2021
2 parents d357f94 + f9fd5af commit bab1c2e
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 bab1c2e

Please sign in to comment.