Skip to content

Clear Activity Bar icon badge correctly (fix #210640)#210645

Merged
alexr00 merged 1 commit intomicrosoft:mainfrom
gjsjohnmurray:fix-210640
Apr 18, 2024
Merged

Clear Activity Bar icon badge correctly (fix #210640)#210645
alexr00 merged 1 commit intomicrosoft:mainfrom
gjsjohnmurray:fix-210640

Conversation

@gjsjohnmurray
Copy link
Contributor

This PR fixes #210640

When an extension sets a TreeView.badge and subsequently clears it by setting it undefined, remove the badge from the Activity Bar icon.

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@alexr00 alexr00 enabled auto-merge (squash) April 18, 2024 12:09
@vscodenpa vscodenpa added this to the April 2024 milestone Apr 18, 2024
@gjsjohnmurray
Copy link
Contributor Author

@alexr00 thanks for accepting this. For some reason the auto-merge hasn't triggered, so please do it manually.

@alexr00 alexr00 merged commit e20f630 into microsoft:main Apr 18, 2024
@gjsjohnmurray gjsjohnmurray deleted the fix-210640 branch April 18, 2024 14:45
@microsoft microsoft locked and limited conversation to collaborators Jun 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Setting TreeView.badge to undefined no longer removes the badge

4 participants