mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 15:51:16 +08:00
chore(eslint): add strict-boolean-expressions rule (#25768)
This commit is contained in:
@ -794,7 +794,7 @@ export class Nav implements NavOutlet {
|
||||
destroyQueue = [];
|
||||
for (let i = removeStart; i < removeStart + removeCount; i++) {
|
||||
const view = this.views[i];
|
||||
if (view && view !== enteringView && view !== leavingView) {
|
||||
if (view !== undefined && view !== enteringView && view !== leavingView) {
|
||||
destroyQueue.push(view);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user