s/notName/notificationName/g

This commit is contained in:
Daniel Waterworth 2019-06-06 16:59:35 +01:00 committed by Robin Ward
parent 7c9d62c280
commit 7e70db3fb7
1 changed files with 2 additions and 2 deletions

View File

@ -105,11 +105,11 @@ createWidget("notification-item", {
return Ember.isEmpty(title) ? "" : escapeExpression(title);
},
text(notificationType, notName) {
text(notificationType, notificationName) {
const { attrs } = this;
const data = attrs.data;
const scope =
notName === "custom" ? data.message : `notifications.${notName}`;
notificationName === "custom" ? data.message : `notifications.${notificationName}`;
const notificationTypes = this.site.notification_types;