mirror of
https://github.com/shoedler/crossbow.git
synced 2026-07-22 07:40:26 +00:00
Shows subtitle only if it's not a file suggestion
This commit is contained in:
parent
e82fc2ae38
commit
edf106366d
1 changed files with 2 additions and 1 deletions
|
|
@ -124,7 +124,8 @@ const createMatchTreeItems = (
|
|||
});
|
||||
|
||||
matchTreeItem.addTextSuffix(match.cacheMatch.type);
|
||||
matchTreeItem.addSubtitle(match.cacheMatch.file.name);
|
||||
|
||||
if (match.cacheMatch.type !== 'File') matchTreeItem.addSubtitle(match.cacheMatch.file.name);
|
||||
|
||||
return matchTreeItem;
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue