Merge pull request #673 from prymitive/fix-inhibited-icon

fix(ui): add missing class to the inhibition icon
This commit is contained in:
Łukasz Mierzwa
2019-05-04 10:37:53 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ exports[`<Alert /> matches snapshot when inhibited 1`] = `
aria-describedby=\\"tippy-tooltip-7\\"
data-original-title=\\"This alert is inhibited by other alerts\\"
>
<span class=\\"mr-1 badge badge-light\\">
<span class=\\"mr-1 badge badge-light components-label\\">
<svg aria-hidden=\\"true\\"
focusable=\\"false\\"
data-prefix=\\"fas\\"

View File

@@ -97,7 +97,7 @@ const Alert = observer(
.map(am => am.inhibitedBy.length)
.reduce((sum, x) => sum + x) > 0 ? (
<TooltipWrapper title="This alert is inhibited by other alerts">
<span className="mr-1 badge badge-light">
<span className="mr-1 badge badge-light components-label">
<FontAwesomeIcon className="text-success" icon={faVolumeMute} />
</span>
</TooltipWrapper>