1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-21 09:52:06 +03:00
Ghost/ghost/admin/app/components/gh-alerts.hbs
Kevin Ansfield e021843e3f Migrated notifications to Octane patterns
no issue

- migrated `notifications` service from EmberObject to true native class
  - switched to tracked properties and use of `TrackedArray`
  - swapped computed properties to getters
  - dropped unnecessary usage of `get` and `set`
- migrated alert/notification related components to Glimmer components
2022-05-25 12:16:37 +01:00

5 lines
156 B
Handlebars

<aside class="gh-alerts" ...attributes>
{{#each this.notifications.alerts as |message|}}
<GhAlert @message={{message}} />
{{/each}}
</aside>