From 27ee21a77255bfa837075cefa073e6f39924087d Mon Sep 17 00:00:00 2001 From: Geoffrey Kwan Date: Tue, 6 Dec 2022 14:40:35 -0500 Subject: [PATCH] fix(Outside URL): Fix problem with componentContent being null --- .../outside-url-student/outside-url-student.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/assets/wise5/components/outsideURL/outside-url-student/outside-url-student.component.ts b/src/assets/wise5/components/outsideURL/outside-url-student/outside-url-student.component.ts index 8babac047ad..dda07c12574 100644 --- a/src/assets/wise5/components/outsideURL/outside-url-student/outside-url-student.component.ts +++ b/src/assets/wise5/components/outsideURL/outside-url-student/outside-url-student.component.ts @@ -48,6 +48,7 @@ export class OutsideUrlStudent extends ComponentStudent { } ngOnInit(): void { + super.ngOnInit(); this.url = this.getURL(this.componentContent); this.infoUrl = this.getInfoUrl(this.componentContent); this.infoString = this.getInfoString(this.componentContent);