Shows subtitle only if it's not a file suggestion

This commit is contained in:
Simon Schödler 2023-05-20 22:16:08 +02:00
parent e82fc2ae38
commit edf106366d

View file

@ -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;
});