Skip to content

Commit a1e2ac1

Browse files
authored
Label picker/selector: add a decription to a list (#27635)
add a decription to getLabels()
1 parent 8ecddbc commit a1e2ac1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/data/label_registry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ export const getLabels = (
264264
const items = outputLabels.map<PickerComboBoxItem>((label) => ({
265265
id: label.label_id,
266266
primary: label.name,
267+
secondary: label.description ?? "",
267268
icon: label.icon || undefined,
268269
icon_path: label.icon ? undefined : mdiLabel,
269270
sorting_label: label.name,

0 commit comments

Comments
 (0)