Skip to content

Commit 8a77f20

Browse files
committed
fix: fix the build, setInput() introduced in angular 15 (#180)
Signed-off-by: Matthieu <matthieu.perrin@montreal.ca>
1 parent 3613fcd commit 8a77f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular-ui/src/lib/system-header/system-header.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class BaoSystemHeaderComponent implements AfterViewInit, OnInit {
140140
const componentRef = viewContainerRef.createComponent(
141141
BaoBackNavigationComponent
142142
);
143-
componentRef.setInput('link', parentLink);
143+
componentRef.instance.link = parentLink;
144144
}
145145
}
146146
}

0 commit comments

Comments
 (0)