Skip to content

Commit 8e1eb4a

Browse files
Copilotalexr00
andauthored
Fix emoji rendering in collapsed sidebar labels (#8113)
* Initial plan * Fix: Use displayName for label emojis in compact view Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 35df9c1 commit 8e1eb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webviews/components/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ function CollapsedLabel(props: PullRequest) {
383383
items={labels}
384384
getKey={l => l.name}
385385
getColor={l => gitHubLabelColor(l.color, props?.isDarkTheme, false)}
386-
getText={l => l.name}
386+
getText={l => l.displayName}
387387
/>
388388
),
389389
count: labels.length

0 commit comments

Comments
 (0)