mirror of
https://github.com/documize/community.git
synced 2025-07-23 07:09:43 +02:00
Prettify code
This commit is contained in:
parent
f2a903d054
commit
b1e0e31a9e
2 changed files with 3 additions and 3 deletions
|
@ -252,6 +252,8 @@ export default Component.extend(TooltipMixin, {
|
||||||
},
|
},
|
||||||
|
|
||||||
onHideSectionWizard() {
|
onHideSectionWizard() {
|
||||||
|
if (this.get('isDestroyed') || this.get('isDestroying')) return;
|
||||||
|
|
||||||
this.set('newSectionLocation', '');
|
this.set('newSectionLocation', '');
|
||||||
this.set('beforePage', null);
|
this.set('beforePage', null);
|
||||||
$("#new-section-wizard").insertAfter('#wizard-placeholder');
|
$("#new-section-wizard").insertAfter('#wizard-placeholder');
|
||||||
|
|
|
@ -69,9 +69,7 @@ export default Component.extend(ModalMixin, {
|
||||||
},
|
},
|
||||||
|
|
||||||
setupPins() {
|
setupPins() {
|
||||||
if (this.get('isDestroyed') || this.get('isDestroying')) {
|
if (this.get('isDestroyed') || this.get('isDestroying')) return;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.get('pinned').getUserPins().then((pins) => {
|
this.get('pinned').getUserPins().then((pins) => {
|
||||||
if (this.get('isDestroyed') || this.get('isDestroying')) {
|
if (this.get('isDestroyed') || this.get('isDestroying')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue