提交 0c4e41b6 编写于 作者: J Joao Moreno

fixes #12842

上级 92860bbb
......@@ -241,12 +241,14 @@ export class ExtensionsViewlet extends Viewlet implements IExtensionsViewlet {
if (/@outdated/i.test(value)) {
return this.extensionsWorkbenchService.queryLocal()
.then(result => result.sort((e1, e2) => e1.displayName.localeCompare(e2.displayName)))
.then(extensions => extensions.filter(extension => extension.outdated))
.then(result => new PagedModel(result));
}
if (/@disabled/i.test(value)) {
return this.extensionsWorkbenchService.queryLocal()
.then(result => result.sort((e1, e2) => e1.displayName.localeCompare(e2.displayName)))
.then(result => result.filter(e => e.state === ExtensionState.Disabled))
.then(result => new PagedModel(result));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册