mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
parent
99a5418dba
commit
8baad7e2f0
22 changed files with 229 additions and 102 deletions
|
@ -19,6 +19,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
linkService: service('link'),
|
||||
folderService: service('folder'),
|
||||
userService: service('user'),
|
||||
localStore: service('local-storage'),
|
||||
contributionStatus: '',
|
||||
approvalStatus: '',
|
||||
|
||||
|
@ -69,6 +70,9 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
controller.set('blocks', model.blocks);
|
||||
controller.set('versions', model.versions);
|
||||
controller.set('attachments', model.attachments);
|
||||
|
||||
// For persistence of section expand/collapse state.
|
||||
controller.set('expandState', this.get('localStore').getDocSectionHide(model.document.id));
|
||||
},
|
||||
|
||||
activate: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue