1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 22:29:41 +02:00

document attachments view

This commit is contained in:
Harvey Kandola 2017-12-11 11:40:12 +00:00
parent 6cc78f76da
commit 486b5983d9
11 changed files with 65 additions and 130 deletions

View file

@ -26,9 +26,13 @@ export default Controller.extend(NotifierMixin, TooltipMixin, {
toggled: false,
queryParams: ['pageId', 'tab'],
pageId: '',
tab: 'index',
tab: 'content',
actions: {
onTabChange(tab) {
this.set('tab', tab);
},
onSaveDocument(doc) {
this.get('documentService').save(doc);