diff --git a/app/assets/javascripts/discourse/widgets/notification-item.js.es6 b/app/assets/javascripts/discourse/widgets/default-notification-item.js.es6 similarity index 99% rename from app/assets/javascripts/discourse/widgets/notification-item.js.es6 rename to app/assets/javascripts/discourse/widgets/default-notification-item.js.es6 index 6ac42f604bc..40a4c3ac99a 100644 --- a/app/assets/javascripts/discourse/widgets/notification-item.js.es6 +++ b/app/assets/javascripts/discourse/widgets/default-notification-item.js.es6 @@ -13,7 +13,7 @@ import { setTransientHeader } from "discourse/lib/ajax"; import { userPath } from "discourse/lib/url"; import { iconNode } from "discourse-common/lib/icon-library"; -createWidget("notification-item", { +createWidget("default-notification-item", { tagName: "li", buildClasses(attrs) { diff --git a/app/assets/javascripts/discourse/widgets/user-notifications-large.js.es6 b/app/assets/javascripts/discourse/widgets/user-notifications-large.js.es6 index 11e87532be0..677c3fa2bda 100644 --- a/app/assets/javascripts/discourse/widgets/user-notifications-large.js.es6 +++ b/app/assets/javascripts/discourse/widgets/user-notifications-large.js.es6 @@ -13,7 +13,7 @@ createWidget("large-notification-item", { html(attrs) { return [ - this.attach("notification-item", attrs), + this.attach("default-notification-item", attrs), h("span.time", dateNode(attrs.created_at)) ]; } diff --git a/app/assets/javascripts/discourse/widgets/user-notifications.js.es6 b/app/assets/javascripts/discourse/widgets/user-notifications.js.es6 index ee23fa894f0..19a8c3de5be 100644 --- a/app/assets/javascripts/discourse/widgets/user-notifications.js.es6 +++ b/app/assets/javascripts/discourse/widgets/user-notifications.js.es6 @@ -89,7 +89,7 @@ export default createWidget("user-notifications", { result.push(h("div.spinner-container", h("div.spinner"))); } else if (state.notifications.length) { const notificationItems = state.notifications.map(n => - this.attach("notification-item", n) + this.attach("default-notification-item", n) ); result.push(h("hr"));