From e0fc555159f52d5ba19fa36a7e0f2b3d6586c2a5 Mon Sep 17 00:00:00 2001 From: Colin Griffin Date: Thu, 9 May 2024 18:06:45 -0400 Subject: [PATCH 1/2] update service path variables --- pkg/app-launcher/components/AppLauncherCard.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/app-launcher/components/AppLauncherCard.vue b/pkg/app-launcher/components/AppLauncherCard.vue index 60245a9..20219d7 100644 --- a/pkg/app-launcher/components/AppLauncherCard.vue +++ b/pkg/app-launcher/components/AppLauncherCard.vue @@ -38,10 +38,10 @@ export default { const endpoint = `${ isMaybeSecure(port.port, port.protocol) ? 'https' : 'http' }:${this.app.metadata?.name}:${port.port}`; - + console.log("test", this); return { label: `${endpoint}${port.protocol === 'UDP' ? ' (UDP)' : ''}`, - value: `/k8s/clusters/${this.clusterId}/api/v1/namespaces/${this.app.namespace}/services/${endpoint}/proxy`, + value: `/k8s/clusters/${this.app.clusterId}/api/v1/namespaces/${this.app.metadata.namespace}/services/${endpoint}/proxy`, }; }) ?? [] ); From 2532f3931125177342f494f11a0b2dbb7342f950 Mon Sep 17 00:00:00 2001 From: Colin Griffin Date: Thu, 9 May 2024 18:07:13 -0400 Subject: [PATCH 2/2] update service path variables --- pkg/app-launcher/components/AppLauncherCard.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/app-launcher/components/AppLauncherCard.vue b/pkg/app-launcher/components/AppLauncherCard.vue index 20219d7..953b49b 100644 --- a/pkg/app-launcher/components/AppLauncherCard.vue +++ b/pkg/app-launcher/components/AppLauncherCard.vue @@ -38,7 +38,6 @@ export default { const endpoint = `${ isMaybeSecure(port.port, port.protocol) ? 'https' : 'http' }:${this.app.metadata?.name}:${port.port}`; - console.log("test", this); return { label: `${endpoint}${port.protocol === 'UDP' ? ' (UDP)' : ''}`, value: `/k8s/clusters/${this.app.clusterId}/api/v1/namespaces/${this.app.metadata.namespace}/services/${endpoint}/proxy`,