I would like to display on the front page a theme component that would present show tags and their notification level (bell) button right next to it. (So people would actually use the tag notification feature).
I’ve been able to do so with categories:
{{#each categories as |c|}}
{{category-notifications-button
value=c.notification_level
onChange=(action "changeCategoryNotificationLevel" c)
}}
{{/each}}
I can’t find a «tag» object that would handle the different attributes of the tag, the same way there i c
. Tags seems to be registered as string objects, am I right ?
On the */tag
page, the button seem to be called with no argument, the tag is extracted from the page url.
{{tag-notifications-button
onChange=(action "changeTagNotificationLevel")
value=tagNotification.notification_level
}}
Is there a way to get a list of tag objects {{#each tags as |tag|}}
from, let’s say, their name read from a setting ?