We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa9255 commit 4ba7907Copy full SHA for 4ba7907
apps/client/src/widgets/containers/content-header.ts
@@ -25,8 +25,7 @@ export default class ContentHeader extends Container<BasicWidget> {
25
}
26
27
init() {
28
- this.parentElement = this.parent!.$widget.get(0);
29
-
+ this.parentElement = this.parent?.$widget.get(0);
30
if (!this.parentElement) {
31
console.warn("No parent set for <ContentHeader>.");
32
return;
0 commit comments