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:
spirobel 2020-06-16 22:50:55 +08:00 committed by GitHub
parent 11fa0cc16b
commit 4b4f568ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>