We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea9693 commit 478177bCopy full SHA for 478177b
web/dashboard/src/business/network/services/index.vue
@@ -42,7 +42,13 @@
42
<template v-slot:default="{row}">
43
<div v-for="(value,key,index) in row.spec.ports" v-bind:key="index" type="info" size="mini">
44
<span style="font-size: 12px" v-if="row.spec.type ==='NodePort'">
45
- {{ value.port }} : {{ value.nodePort }} /{{ value.protocol }} ---> {{ value.targetPort }}
+ {{ value.port }}:{{ value.nodePort }}/{{ value.protocol }}
46
+ </span>
47
+ <span style="font-size: 12px" v-if="row.spec.type !=='NodePort' && value.port === value.targetPort">
48
+ {{ value.port }}/{{ value.protocol }}
49
50
+ <span style="font-size: 12px" v-if="row.spec.type !=='NodePort' && value.port !== value.targetPort">
51
+ {{ value.port }}:{{ value.targetPort }}/{{ value.protocol }}
52
</span>
53
<br>
54
</div>
0 commit comments