hide secret description

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-10-16 20:05:07 -04:00
parent 986e958a9c
commit 367ff1a49f

View File

@@ -7,7 +7,9 @@ export default class SecretTreeItem extends TreeItem implements GithubLocalActio
constructor(secret: Secret) {
super(secret.key, TreeItemCollapsibleState.None);
this.description = secret.value;
if (secret.value) {
this.description = '••••••••'
}
this.contextValue = SecretTreeItem.contextValue;
this.iconPath = new ThemeIcon('key');
}