From f2b64765f5594b8032f835037d14caa89d3f683a Mon Sep 17 00:00:00 2001 From: Muremwa Date: Thu, 8 Oct 2020 22:23:37 +0300 Subject: [PATCH] admin collapsed by default --- treeProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/treeProvider.js b/treeProvider.js index 4e63a63..81ad021 100644 --- a/treeProvider.js +++ b/treeProvider.js @@ -31,7 +31,7 @@ class TreeItem extends vscode.TreeItem { let collapsedTreeOrNot, labelToFeed, contextValue, tooltip; if (treeType === trees.APP) { - collapsedTreeOrNot = vscode.TreeItemCollapsibleState.Expanded; + collapsedTreeOrNot = label === 'admin'? vscode.TreeItemCollapsibleState.Collapsed: vscode.TreeItemCollapsibleState.Expanded; contextValue = 'app'; if (label.includes('READER_FILE_PATH')) {