Commit 324f4cb
fix: prevent React rendering literal 0 in dismissed metadata block
issue?.ignre_global is 0 (a number) when not globally dismissed. When
user/date/name are also empty strings, the || chain resolves to 0 and
React renders it as text. Replace with isGloballyDismissed which is
already computed as a boolean from the same field.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c71b37a commit 324f4cb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
0 commit comments