mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Should not have added the check
This commit is contained in:
parent
6e8123a10b
commit
f8a3d948c2
|
@ -349,7 +349,6 @@ export class ActivitybarPart extends Part {
|
|||
const viewContainerRegistry = Registry.as<IViewContainersRegistry>(ViewContainerExtensions.ViewContainersRegistry);
|
||||
const state: ISerializedPlaceholderComposite[] = [];
|
||||
for (const { id, iconUrl } of this.viewletService.getAllViewlets()) {
|
||||
if (iconUrl) {
|
||||
const viewContainer = viewContainerRegistry.get(id);
|
||||
const whens: string[] = [];
|
||||
if (viewContainer) {
|
||||
|
@ -361,7 +360,6 @@ export class ActivitybarPart extends Part {
|
|||
}
|
||||
state.push({ id, iconUrl, whens });
|
||||
}
|
||||
}
|
||||
this.storageService.store(ActivitybarPart.PLACEHOLDER_VIEWLETS, JSON.stringify(state), StorageScope.GLOBAL);
|
||||
|
||||
super.saveState();
|
||||
|
|
Loading…
Reference in a new issue