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

Enable PDF section editor

This commit is contained in:
Harvey Kandola 2019-04-18 15:42:18 +01:00
parent 61d0086337
commit 7fde947a52
6 changed files with 118 additions and 20 deletions

View file

@ -12,20 +12,14 @@
import $ from 'jquery';
import { empty } from '@ember/object/computed';
import { computed } from '@ember/object';
import { inject as service } from '@ember/service';
import Modals from '../../mixins/modal';
import Notifier from '../../mixins/notifier';
import Component from '@ember/component';
export default Component.extend(Modals, Notifier, {
appMeta: service(),
session: service(),
documentSvc: service('document'),
busy: false,
mousetrap: null,
showLinkModal: false,
files: null,
downloadQuery: '',
hasNameError: empty('page.title'),
hasDescError: empty('page.excerpt'),
pageId: computed('page', function () {