{{! alias the active notification on the service --}} {{#let this.service.activeNotification as |notification|}} {{! Dialog Modals }} {{#if (and this.service.isShowingNotification (eq notification.type this.notificationType.Modal))}} {{/if}}
{{! Toasts are hidden or show based on the flag, allows for css animation between states}} {{#let (if this.service.isShowingToast "--visible" "--hidden") as |classModifier|}} {{/let}}
{{/let}}