chore(): update to ionic-rules/strict

This commit is contained in:
Manu Mtz.-Almeida
2018-07-29 23:10:26 +02:00
parent 7292fc7d38
commit c1b61d0fee
148 changed files with 354 additions and 407 deletions

View File

@ -1,8 +1,8 @@
import { Component, Listen, Prop } from '@stencil/core';
import { Mode, SelectPopoverOption } from '../../interface';
import { createThemedClasses } from '../../utils/theme';
@Component({
tag: 'ion-select-popover',
styleUrl: 'select-popover.scss'
@ -26,7 +26,9 @@ export class SelectPopover {
@Listen('ionSelect')
onSelect(ev: any) {
const option = this.options.find(o => o.value === ev.target.value);
option && option.handler && option.handler();
if (option && option.handler) {
option.handler();
}
}
hostData() {
@ -65,5 +67,3 @@ export class SelectPopover {
);
}
}