1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Prettify code

This commit is contained in:
McMatts 2018-04-26 13:44:41 +01:00
parent f2a903d054
commit b1e0e31a9e
2 changed files with 3 additions and 3 deletions

View file

@ -69,9 +69,7 @@ export default Component.extend(ModalMixin, {
},
setupPins() {
if (this.get('isDestroyed') || this.get('isDestroying')) {
return;
}
if (this.get('isDestroyed') || this.get('isDestroying')) return;
this.get('pinned').getUserPins().then((pins) => {
if (this.get('isDestroyed') || this.get('isDestroying')) {