fix(tab): prevent infinite loop

This commit is contained in:
Manu Mtz.-Almeida
2018-07-24 17:32:45 +02:00
parent 7d3d98d6f2
commit 05b258c6ef

View File

@ -106,7 +106,14 @@ export class Tab {
}
}
componentWillUpdate() {
@Watch('label')
@Watch('href')
@Watch('show')
@Watch('disabled')
@Watch('badge')
@Watch('badgeColor')
@Watch('icon')
onPropChanged() {
this.ionTabMutated.emit();
}