mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 11:13:38 +08:00
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.
This commit is contained in:
parent
11fa0cc16b
commit
4b4f568ec0
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user