eslint rules applyed

This commit is contained in:
Carlos Jimenez Ruiz 2019-12-18 12:49:20 +01:00
parent 7d7a2a64e0
commit 71d7c3f17d
1 changed files with 5 additions and 6 deletions

View File

@ -46,11 +46,11 @@ export default class Controller extends Component {
let parent = this.snackbar.querySelectorAll('.shape')[0];
if (parent) {
if (parent)
this.snackbar.insertBefore(shape, parent);
} else {
else
this.snackbar.appendChild(shape);
}
return shape;
}
@ -108,12 +108,11 @@ export default class Controller extends Component {
}
onButtonClick(shape) {
if (this.actionHandler) {
if (this.actionHandler)
this.actionHandler();
} else {
else
this.hide(shape);
}
}
}
Controller.$inject = ['$element', '$translate'];