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 a23c6e2 commit 8e0869fCopy full SHA for 8e0869f
templates/widget/widget.tsx
@@ -15,7 +15,11 @@ export class <%= params.extensionPrefix %>Widget extends ReactWidget {
15
protected readonly messageService!: MessageService;
16
17
@postConstruct()
18
- protected async init(): Promise < void> {
+ protected init(): void {
19
+ this.doInit()
20
+ }
21
+
22
+ protected async doInit(): Promise <void> {
23
this.id = <%= params.extensionPrefix %>Widget.ID;
24
this.title.label = <%= params.extensionPrefix %>Widget.LABEL;
25
this.title.caption = <%= params.extensionPrefix %>Widget.LABEL;
0 commit comments