mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
chore(eslint): add strict-boolean-expressions rule (#25768)
This commit is contained in:
@ -93,7 +93,7 @@ export class RefresherContent implements ComponentInterface {
|
||||
<ion-icon icon={this.pullingIcon} lazy={false}></ion-icon>
|
||||
</div>
|
||||
)}
|
||||
{this.pullingText && (
|
||||
{this.pullingText !== undefined && (
|
||||
<div class="refresher-pulling-text" innerHTML={sanitizeDOMString(this.pullingText)}></div>
|
||||
)}
|
||||
</div>
|
||||
@ -103,7 +103,7 @@ export class RefresherContent implements ComponentInterface {
|
||||
<ion-spinner name={this.refreshingSpinner}></ion-spinner>
|
||||
</div>
|
||||
)}
|
||||
{this.refreshingText && (
|
||||
{this.refreshingText !== undefined && (
|
||||
<div class="refresher-refreshing-text" innerHTML={sanitizeDOMString(this.refreshingText)}></div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user