Skip to content

Commit

Permalink
#49145 Store placeholder states for all viewlets
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed May 28, 2018
1 parent 8874886 commit 8edb2a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export class ActivitybarPart extends Part {
}

public shutdown(): void {
const state = this.viewletService.getViewlets().filter(viewlet => this.compositeBar.isPinned(viewlet.id)).map(viewlet => ({ id: viewlet.id, iconUrl: viewlet.iconUrl }));
const state = this.viewletService.getViewlets().map(viewlet => ({ id: viewlet.id, iconUrl: viewlet.iconUrl }));
this.storageService.store(ActivitybarPart.PLACEHOLDER_VIEWLETS, JSON.stringify(state), StorageScope.GLOBAL);
super.shutdown();
}
Expand Down

0 comments on commit 8edb2a7

Please sign in to comment.