We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f196f6 commit 6a326a7Copy full SHA for 6a326a7
src/tree-view-providers/converters.ts
@@ -52,7 +52,7 @@ const postConverter: Converter<Post> = obj => {
52
};
53
54
const categoryConverter: Converter<PostCategory> = ({ title, count }) =>
55
- Object.assign<TreeItem, TreeItem>(new TreeItem(title), {
+ Object.assign<TreeItem, TreeItem>(new TreeItem(`${title}(${count})`), {
56
collapsibleState: count > 0 ? TreeItemCollapsibleState.Collapsed : TreeItemCollapsibleState.None,
57
iconPath: categoryIcon(),
58
contextValue: 'cnb-post-category',
0 commit comments