1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 05:25:27 +02:00

Enable doc section expand/collapse

Closes #170
This commit is contained in:
HarveyKandola 2019-06-05 11:09:24 +01:00
parent 99a5418dba
commit 8baad7e2f0
22 changed files with 229 additions and 102 deletions

View file

@ -1,7 +1,8 @@
{{#if hasPages}}
{{#each pages key="id" as |item|}}
<Ui::UiSpacer @size="100" id={{concat 'page-spacer-' item.page.id}} />
<Ui::UiSpacer @size="100" id={{concat "page-spacer-" item.page.id}} />
{{document/document-page
expandState=expandState
roles=roles
pages=pages
folder=folder
@ -14,6 +15,7 @@
permissions=permissions
attachments=attachments
refresh=(action refresh)
onExpand=(action onExpand)
onAttachmentUpload=(action onAttachmentUpload)
onAttachmentDelete=(action onAttachmentDelete)
onSavePage=(action "onSavePage")