mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00: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>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{plugin-outlet name="composer-fields" args=(hash model=model)}}
|
{{plugin-outlet name="composer-fields" args=(hash model=model showPreview=showPreview)}}
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user