Remove unnecessary await in restoreView

This commit is contained in:
Koen Vlaswinkel
2022-10-31 13:57:49 +01:00
parent 9b59b65591
commit 31a28e70b2

View File

@@ -38,7 +38,7 @@ export abstract class AbstractWebview<ToMessage extends WebviewMessage, FromMess
public async restoreView(panel: WebviewPanel): Promise<void> { public async restoreView(panel: WebviewPanel): Promise<void> {
this.panel = panel; this.panel = panel;
const config = await this.getPanelConfig(); const config = await this.getPanelConfig();
await this.setupPanel(panel, config); this.setupPanel(panel, config);
} }
protected get isShowingPanel() { protected get isShowingPanel() {