Skip to content

Commit

Permalink
Ensure badge state is persisted in activity bar cache (#173715)
Browse files Browse the repository at this point in the history
  • Loading branch information
lramos15 authored Feb 7, 2023
1 parent f12d88d commit b2ae6f2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -904,9 +904,10 @@ export class ActivitybarPart extends Part implements IPaneCompositeSelectorPart
}

private storeCachedViewContainersState(cachedViewContainers: ICachedViewContainer[]): void {
this.setPinnedViewContainers(cachedViewContainers.map(({ id, pinned, visible, order }) => (<IPinnedViewContainer>{
this.setPinnedViewContainers(cachedViewContainers.map(({ id, pinned, badgeEnabled, visible, order }) => (<IPinnedViewContainer>{
id,
pinned,
badgeEnabled,
visible,
order
})));
Expand Down

0 comments on commit b2ae6f2

Please sign in to comment.