From 97ff2c45bdfdc00033cc97707192ed55f435968a Mon Sep 17 00:00:00 2001 From: Donavan Becker Date: Mon, 21 Aug 2023 21:04:20 -0500 Subject: [PATCH] Revert "Wait for custom UI (#1523)" This reverts commit ab2313dc003f70501880110f59303ba4d9400774. --- .../manage-plugins/custom-plugins/custom-plugins.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.ts b/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.ts index 18ca7c191..04fb8f4ef 100644 --- a/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.ts +++ b/ui/src/app/core/manage-plugins/custom-plugins/custom-plugins.component.ts @@ -123,6 +123,9 @@ export class CustomPluginsComponent implements OnInit, OnDestroy { this.iframe = this.customPluginUiElementTarget.nativeElement as HTMLIFrameElement; this.iframe.src = environment.api.base + this.basePath + '/index.html?origin=' + encodeURIComponent(location.origin) + '&v=' + encodeURIComponent(this.plugin.installedVersion); + this.iframe.onload = () => { + this.uiLoaded = true; + }; } handleMessage = (e: MessageEvent) => {