2017-08-22 10:53:26 +03:00
|
|
|
import Component from '@ember/component';
|
2022-02-01 12:34:03 +03:00
|
|
|
import classic from 'ember-classic-decorator';
|
2017-08-22 10:53:26 +03:00
|
|
|
import {alias} from '@ember/object/computed';
|
2022-02-01 12:34:03 +03:00
|
|
|
import {classNames, tagName} from '@ember-decorators/component';
|
2017-10-30 12:38:01 +03:00
|
|
|
import {inject as service} from '@ember/service';
|
2015-10-28 14:36:45 +03:00
|
|
|
|
2022-02-01 12:34:03 +03:00
|
|
|
@classic
|
|
|
|
@classNames('gh-alerts')
|
|
|
|
@tagName('aside')
|
|
|
|
export default class GhAlerts extends Component {
|
2022-02-01 20:03:45 +03:00
|
|
|
@service notifications;
|
2015-05-21 20:03:24 +03:00
|
|
|
|
2022-02-01 12:34:03 +03:00
|
|
|
@alias('notifications.alerts')
|
2022-02-10 13:41:36 +03:00
|
|
|
messages;
|
2022-02-01 12:34:03 +03:00
|
|
|
}
|