From ebce983a263def15f0a3f8abbfeafb3d7d765498 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 15 Jul 2021 21:11:59 +0800 Subject: [PATCH] DEV: pass more arguments to before-create-topic-button (#13740) This commit passes a few more arguments to the `before-create-topic-button` outlet. We need these arguments to avoid template overrides in themes. --- .../discourse/app/templates/components/d-navigation.hbs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs b/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs index 7d3abc4e98..3578c63a80 100644 --- a/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/d-navigation.hbs @@ -39,7 +39,10 @@ args=(hash canCreateTopic=canCreateTopic createTopicDisabled=createTopicDisabled - createTopicLabel=createTopicLabel) + createTopicLabel=createTopicLabel + additionalTags=additionalTags + category=category + tag=tag) }} {{create-topic-button