1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 14:19:43 +02:00

Streamline document meta view and editing experience

Meta data:

1. Condensed layout.
2. Unified editing.

Co-Authored-By: Saul S <sauls8t@users.noreply.github.com>
This commit is contained in:
McMatts 2018-06-15 14:25:05 +01:00
parent f70d4b33a3
commit 27fde0dac8
26 changed files with 2389 additions and 1956 deletions

View file

@ -15,7 +15,6 @@ import { inject as service } from '@ember/service';
import Component from '@ember/component';
export default Component.extend({
classNames: ['row d-print-none'],
documentService: service('document'),
appMeta: service(),
hasAttachments: notEmpty('files'),
@ -26,12 +25,12 @@ export default Component.extend({
init() {
this._super(...arguments);
this.getAttachments();
this.deleteAttachment = { id: '', name: '' };
},
this.deleteAttachment = {
id: "",
name: "",
};
didReceiveAttrs() {
this._super(...arguments);
this.getAttachments();
},
didInsertElement() {