Skip to content

Commit

Permalink
Reference TagInfos that have a non-default value get the INFO_ICON icon.
Browse files Browse the repository at this point in the history
This helps them stand out so users can know to hover over them.

Part of #682.
  • Loading branch information
jkomoros committed Dec 10, 2023
1 parent 4da83ae commit b74cead
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/card-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,8 @@ class CardEditor extends connect(store)(LitElement) {
//This is the meat of overriding the tagInfo based on references.
info = {
...info,
description: (info.description || info.title) + ' : ' + value
description: (info.description || info.title) + ' : ' + value,
iconName: 'INFO_ICON'
};
overlayChanged = true;
}
Expand Down

0 comments on commit b74cead

Please sign in to comment.