diff --git a/addon/components/notification-tray.js b/addon/components/notification-tray.js index 20fb5de..d42182f 100644 --- a/addon/components/notification-tray.js +++ b/addon/components/notification-tray.js @@ -94,7 +94,7 @@ export default class NotificationTrayComponent extends Component { }); // listen for notifications read - this.universe.on('notifications.read', (notifications) => { + this.universe.on('notifications.read', () => { this.fetchNotificationsFromStore(); }); diff --git a/addon/utils/smart-humanize.js b/addon/utils/smart-humanize.js index 48c99df..8f363b4 100644 --- a/addon/utils/smart-humanize.js +++ b/addon/utils/smart-humanize.js @@ -7,7 +7,32 @@ export default function smartHumanize(string) { return string; } - const uppercase = ['api', 'vat', 'id', 'uuid', 'sku', 'ean', 'upc', 'erp', 'tms', 'wms', 'ltl', 'ftl', 'lcl', 'fcl', 'rfid', 'jot', 'roi', 'eta', 'pod', 'asn', 'oem', 'ddp', 'fob', 'gsm']; + const uppercase = [ + 'api', + 'vat', + 'id', + 'uuid', + 'sku', + 'ean', + 'upc', + 'erp', + 'tms', + 'wms', + 'ltl', + 'ftl', + 'lcl', + 'fcl', + 'rfid', + 'jot', + 'roi', + 'eta', + 'pod', + 'asn', + 'oem', + 'ddp', + 'fob', + 'gsm', + ]; return humanize([decamelize(string)]) .toLowerCase()