add showPreview to composer fields plugin outlet (#10019)

add showPreview to composer fields plugin outlet (#10019)

showPreview is necessary because we need to add 50% width class similar to: class=“title-and-category with-preview” on the category and title div if the preview is shown.

diff --git a/app/assets/javascripts/discourse/app/templates/composer.hbs b/app/assets/javascripts/discourse/app/templates/composer.hbs
index 672d5d2..b3a075b 100644
--- a/app/assets/javascripts/discourse/app/templates/composer.hbs
+++ b/app/assets/javascripts/discourse/app/templates/composer.hbs
@@ -100,7 +100,7 @@
               </div>
             {{/if}}
 
-            {{plugin-outlet name="composer-fields" args=(hash model=model)}}
+            {{plugin-outlet name="composer-fields" args=(hash model=model showPreview=showPreview)}}
           {{/unless}}
 
         </div>

GitHub sha: 4b4f568e

This commit appears in #10019 which was approved by eviltrout. It was merged by eviltrout.