Skip to content

Commit c6167c4

Browse files
committed
test(angular): only update the OnInit changes
1 parent c002219 commit c6167c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/angular/test/apps/ng17/src/app/lazy/version-test/modal-nav-params/nav-root.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let rootParamsException = false;
2323
})
2424
export class NavRootComponent implements OnInit {
2525

26-
@Input() params: any = {};
26+
@Input() params: any;
2727

2828
ngOnInit() {
2929
if (this.params === undefined) {

packages/angular/test/apps/ng18/src/app/lazy/version-test/modal-nav-params/nav-root.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { JsonPipe } from "@angular/common";
2-
import { Component, Input, OnInit } from "@angular/core";
2+
import { Component, OnInit } from "@angular/core";
33

44
import { IonicModule } from "@ionic/angular";
55

@@ -23,7 +23,7 @@ let rootParamsException = false;
2323
})
2424
export class NavRootComponent implements OnInit {
2525

26-
@Input() params: any = {};
26+
params: any;
2727

2828
ngOnInit() {
2929
if (this.params === undefined) {

0 commit comments

Comments
 (0)