Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add PluginOutlet wrapping user notifications EmptyState (#25406)

Mark VanLandingham9130a3cafdc6
diff --git a/app/assets/javascripts/discourse/app/templates/user/notifications-index.hbs b/app/assets/javascripts/discourse/app/templates/user/notifications-index.hbs
index b7f8537ee50..d7e13b0e942 100644
--- a/app/assets/javascripts/discourse/app/templates/user/notifications-index.hbs
+++ b/app/assets/javascripts/discourse/app/templates/user/notifications-index.hbs
@@ -7,10 +7,12 @@
{{/if}}
</div>
{{else if this.doesNotHaveNotifications}}
- <EmptyState
- @title={{i18n "user.no_notifications_page_title"}}
- @body={{this.emptyStateBody}}
- />
+ <PluginOutlet @name="user-notifications-empty-state">
+ <EmptyState
+ @title={{i18n "user.no_notifications_page_title"}}
+ @body={{this.emptyStateBody}}
+ />
+ </PluginOutlet>
{{else}}
<div class="user-notifications-filter">
<NotificationsFilter