Fix description and add missing quotes

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-11-22 21:20:24 -05:00
parent 3634e391cb
commit 4349f2993e
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ export default class VariablesTreeItem extends TreeItem implements GithubLocalAc
super('Variables', TreeItemCollapsibleState.Collapsed);
const selectedVariableFiles = variableFiles.filter(variableFile => variableFile.selected);
this.description = `${variables.filter(variable => variable.selected).length}/${variables.length}` +
(selectedVariableFiles.length > 0 ? ` + ${selectedVariableFiles[0].name} variable file(s)` : ``);
(selectedVariableFiles.length > 0 ? ` + ${selectedVariableFiles[0].name}` : ``);
this.contextValue = VariablesTreeItem.contextValue;
this.iconPath = new ThemeIcon('symbol-key');
}