mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
reuse meta-property for text below label & desc
This commit is contained in:
@@ -51,17 +51,20 @@ export class ExtHostQuickOpen {
|
||||
let item = items[handle];
|
||||
let label: string;
|
||||
let description: string;
|
||||
let meta: string;
|
||||
|
||||
if (typeof item === 'string') {
|
||||
label = item;
|
||||
} else {
|
||||
label = item.label;
|
||||
description = item.description;
|
||||
meta = item.detail;
|
||||
}
|
||||
pickItems.push({
|
||||
label,
|
||||
description,
|
||||
handle
|
||||
handle,
|
||||
meta
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user