Skip to content

Use v-if instead of passing empty string for severity

Daniel Tian requested to merge 208407-remove-empty-string-for-severity into master

What does this MR do?

There are two components that use <severity-badge> and pass an empty string if there is no severity string available. Instead, we should use v-if to conditionally render the <severity-badge> instead of passing an empty string. An empty string will cause <severity-badge> to render a blank template, because the severity string is actually a lookup key and needs to match with one of the expected severity levels.

ksnip_20210202-234818

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #208407 (closed)

Edited by Daniel Tian

Merge request reports