mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: ability to add description to tags (#15125)
Ability to add description to tags, which will be displayed on hover.
This commit is contained in:
committed by
GitHub
parent
78723345c0
commit
9cabd3721b
@@ -99,7 +99,11 @@ export default MultiSelectComponent.extend(TagsMixin, {
|
||||
return results
|
||||
.filter((r) => !makeArray(context.tags).includes(r.id))
|
||||
.map((result) => {
|
||||
return { id: result.text, name: result.text, count: result.count };
|
||||
return {
|
||||
id: result.text,
|
||||
name: result.description,
|
||||
count: result.count,
|
||||
};
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user