Skip to content

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

DEV: Plugin outlet around user menu empty state (#24730)

Mark VanLandinghamefcb5bb3dfb0
diff --git a/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs b/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs
index 1448e73942b..06b4cbb063f 100644
--- a/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs
+++ b/app/assets/javascripts/discourse/app/components/user-menu/items-list.hbs
@@ -38,7 +38,12 @@
/>
</div>
{{else}}
- {{component this.emptyStateComponent}}
+ <PluginOutlet
+ @name="user-menu-items-list-empty-state"
+ @outletArgs={{hash model=this}}
+ >
+ {{component this.emptyStateComponent}}
+ </PluginOutlet>
{{/if}}
<PluginOutlet
@name="after-panel-body"