Skip to content

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

DEV: Add `toggleTagInfo` to `discovery-list-controls-above` outlet (#32302)

Isaac Janzen31877f646f35
diff --git a/app/assets/javascripts/discourse/app/components/discovery/layout.gjs b/app/assets/javascripts/discourse/app/components/discovery/layout.gjs
index 4863401a062..57f34141e97 100644
--- a/app/assets/javascripts/discourse/app/components/discovery/layout.gjs
+++ b/app/assets/javascripts/discourse/app/components/discovery/layout.gjs
@@ -18,7 +18,11 @@ const Layout = <template>
<PluginOutlet
@name="discovery-list-controls-above"
@connectorTagName="div"
- @outletArgs={{hash [email protected] [email protected]}}
+ @outletArgs={{hash
+ toggleTagInfo=@toggleTagInfo
+ }}
/>
</span>
diff --git a/app/assets/javascripts/discourse/app/templates/discovery/list.gjs b/app/assets/javascripts/discourse/app/templates/discovery/list.gjs
index 7dea9d94a8e..6adc59a7898 100644
--- a/app/assets/javascripts/discourse/app/templates/discovery/list.gjs
+++ b/app/assets/javascripts/discourse/app/templates/discovery/list.gjs
@@ -11,6 +11,7 @@ export default RouteTemplate(
<Layout
@model={{@controller.model}}
@createTopicDisabled={{@controller.createTopicDisabled}}
+ @toggleTagInfo={{@controller.toggleTagInfo}}
>
<:navigation>
<Navigation