mirror of
https://github.com/documize/community.git
synced 2025-07-20 13:49:42 +02:00
Code linting
This commit is contained in:
parent
af632615cf
commit
3bc775582d
7 changed files with 17 additions and 10 deletions
|
@ -13,7 +13,7 @@ import $ from 'jquery';
|
|||
import { computed } from '@ember/object';
|
||||
import { notEmpty } from '@ember/object/computed';
|
||||
import { inject as service } from '@ember/service';
|
||||
import { A } from "@ember/array"
|
||||
import { A } from '@ember/array';
|
||||
import { schedule } from '@ember/runloop';
|
||||
import ModalMixin from '../../mixins/modal';
|
||||
import Component from '@ember/component';
|
||||
|
@ -51,7 +51,7 @@ export default Component.extend(ModalMixin, {
|
|||
let p = this.get('document.protection');
|
||||
let constants = this.get('constants');
|
||||
let msg = '';
|
||||
|
||||
|
||||
switch (p) {
|
||||
case constants.ProtectionType.None:
|
||||
msg = constants.ProtectionType.NoneLabel;
|
||||
|
@ -87,7 +87,7 @@ export default Component.extend(ModalMixin, {
|
|||
}
|
||||
|
||||
return msg;
|
||||
}),
|
||||
}),
|
||||
|
||||
didReceiveAttrs() {
|
||||
this._super(...arguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue