diff --git a/pkg/app-launcher/components/AppLauncherCard.vue b/pkg/app-launcher/components/AppLauncherCard.vue index bb07043..be7c62a 100644 --- a/pkg/app-launcher/components/AppLauncherCard.vue +++ b/pkg/app-launcher/components/AppLauncherCard.vue @@ -28,7 +28,7 @@ export default { window.open(link); }, toggleFavorite() { - this.$emit('toggle-favorite', this.app) + this.$emit('toggle-favorite', this.app); }, }, computed: { @@ -38,9 +38,11 @@ export default { const endpoint = `${ isMaybeSecure(port.port, port.protocol) ? 'https' : 'http' }:${this.app.metadata?.name}:${port.port}`; + return { label: `${endpoint}${port.protocol === 'UDP' ? ' (UDP)' : ''}`, - value: `/k8s/clusters/${this.app.clusterId}/api/v1/namespaces/${this.app.metadata.namespace}/services/${endpoint}/proxy`, + value: `/k8s/clusters/${this.app.clusterId}/api/v1/namespaces/` + + `${this.app.metadata.namespace}/services/${endpoint}/proxy`, }; }) ?? [] ); @@ -83,17 +85,37 @@ export default {