We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81faff1 commit a95833dCopy full SHA for a95833d
src/bug-label.ts
@@ -78,6 +78,10 @@ export class BugLabel extends LitElement {
78
`;
79
}
80
81
+ private get allBugsClosed() {
82
+ return this.bugMeta.every((bug) => !bug.isOpen);
83
+ }
84
+
85
private renderMultipleBugsLabel() {
86
return html`
87
<a
@@ -87,7 +91,13 @@ export class BugLabel extends LitElement {
91
rel="noopener noreferrer"
88
92
title=${`Bug ${this.bugIds.join(", ")}`}
89
93
>
90
- <img class="bug-icon" src=${bugzillaIcon} alt="Bugzilla Icon" width="32" height="32" />
94
+ <img
95
+ class="bug-icon ${this.allBugsClosed ? "closed" : ""}"
96
+ src=${bugzillaIcon}
97
+ alt="Bugzilla Icon"
98
+ width="32"
99
+ height="32"
100
+ />
101
</a>
102
103
0 commit comments