Skip to content

Commit 56339d9

Browse files
committed
1 parent 1eec409 commit 56339d9

File tree

1 file changed

+1
-1
lines changed
  • extensions/references-view/src/calls

1 file changed

+1
-1
lines changed

extensions/references-view/src/calls/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class CallItemDataProvider implements vscode.TreeDataProvider<CallItem> {
177177

178178
const item = new vscode.TreeItem(element.item.name);
179179
item.description = element.item.detail;
180-
item.tooltip = item.label ? `${item.label} - ${element.item.detail}` : element.item.detail;
180+
item.tooltip = item.label && element.item.detail ? `${item.label} - ${element.item.detail}` : item.label ? `${item.label}` : element.item.detail;
181181
item.contextValue = 'call-item';
182182
item.iconPath = getThemeIcon(element.item.kind);
183183

0 commit comments

Comments
 (0)