From 50d8711a8438ad5d71b7e95ae83543a73ab91e2e Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Tue, 17 Sep 2024 19:51:15 +0200 Subject: [PATCH 1/2] Fix typo in angular plugin factory Signed-off-by: 1000TurquoisePogs --- .../plugin-factory/angular2/angular2-plugin-factory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtual-desktop/src/app/plugin-manager/plugin-factory/angular2/angular2-plugin-factory.ts b/virtual-desktop/src/app/plugin-manager/plugin-factory/angular2/angular2-plugin-factory.ts index 418712c6..5fdbdc91 100644 --- a/virtual-desktop/src/app/plugin-manager/plugin-factory/angular2/angular2-plugin-factory.ts +++ b/virtual-desktop/src/app/plugin-manager/plugin-factory/angular2/angular2-plugin-factory.ts @@ -81,8 +81,8 @@ export class Angular2PluginFactory extends PluginFactory { let pluginDefBase = pluginDefinition.getBasePlugin(); let pluginDefAny:any = (pluginDefBase as any); let entryPoint = 'main.js'; - if (pluginDefAny.getWebEntryPoint) { - entryPoint = pluginDefAny.getWebEntryPoint() || 'main.js'; + if (pluginDefAny.getWebEntrypoint) { + entryPoint = pluginDefAny.getWebEntrypoint() || 'main.js'; } return ZoweZLUX.uriBroker.pluginResourceUri(pluginDefBase, entryPoint); } From beb1270b3bb4a16a1817edae513ffa15f67b924e Mon Sep 17 00:00:00 2001 From: 1000TurquoisePogs Date: Tue, 17 Sep 2024 19:52:44 +0200 Subject: [PATCH 2/2] Update react-plugin-factory.ts Signed-off-by: 1000TurquoisePogs --- .../plugin-factory/react/react-plugin-factory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtual-desktop/src/app/plugin-manager/plugin-factory/react/react-plugin-factory.ts b/virtual-desktop/src/app/plugin-manager/plugin-factory/react/react-plugin-factory.ts index dd418559..45582b9d 100644 --- a/virtual-desktop/src/app/plugin-manager/plugin-factory/react/react-plugin-factory.ts +++ b/virtual-desktop/src/app/plugin-manager/plugin-factory/react/react-plugin-factory.ts @@ -30,8 +30,8 @@ export class ReactPluginFactory extends PluginFactory { let pluginDefBase = pluginDefinition.getBasePlugin(); let pluginDefAny:any = (pluginDefBase as any); let entryPoint = 'main.js'; - if (pluginDefAny.getWebEntryPoint) { - entryPoint = pluginDefAny.getWebEntryPoint() || 'main.js'; + if (pluginDefAny.getWebEntrypoint) { + entryPoint = pluginDefAny.getWebEntrypoint() || 'main.js'; } return ZoweZLUX.uriBroker.pluginResourceUri(pluginDefBase, entryPoint); }