Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import NotificationsService from 'ember-cli-notifications/services/notification-messages-service'
export default NotificationsService.extend({
// Extend the imported service
})
import NotificationMessage from 'ember-cli-notifications/components/notification-message';
import config from 'ember-get-config';
const globals = config['ember-cli-notifications'] || {}; // Import app config object
export default NotificationMessage.extend({
init() {
this._super(...arguments);
this.icons = globals.icons || 'font-awesome'
}
});