提交 5fdf0913 编写于 作者: R Ramya Achutha Rao

Show git under Features not Basics

上级 c6b11142
......@@ -179,7 +179,8 @@ export class ExtensionsListView extends ViewsViewletPanel {
return e.local.manifest
&& e.local.manifest.contributes
&& Array.isArray(e.local.manifest.contributes.languages)
&& e.local.manifest.contributes.languages.length;
&& e.local.manifest.contributes.languages.length
&& e.local.identifier.id !== 'git';
});
return new PagedModel(this.sortExtensions(basics, options));
}
......@@ -187,7 +188,7 @@ export class ExtensionsListView extends ViewsViewletPanel {
const others = result.filter(e => {
return e.local.manifest
&& e.local.manifest.contributes
&& !Array.isArray(e.local.manifest.contributes.languages)
&& (!Array.isArray(e.local.manifest.contributes.languages) || e.local.identifier.id === 'git')
&& !Array.isArray(e.local.manifest.contributes.themes);
});
return new PagedModel(this.sortExtensions(others, options));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册