mirror of https://github.com/rancher/dashboard.git
kiali link pr feedback
This commit is contained in:
parent
a31de3d7b7
commit
cd47532c47
|
|
@ -92,7 +92,7 @@ export default {
|
|||
proxyUrl() {
|
||||
return (proto, port) => {
|
||||
const view = this.linkFor('view');
|
||||
const idx = view.indexOf(`/${ this.metadata.name }`);
|
||||
const idx = view.lastIndexOf(`/`);
|
||||
|
||||
return `${ view.slice(0, idx) }/${ proto }:${ this.metadata.name }:${ port }/proxy`;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,7 +9,9 @@ export default {
|
|||
middleware: InstallRedirect(NAME, CHART_NAME),
|
||||
|
||||
async fetch() {
|
||||
this.kialiService = await this.$store.dispatch('cluster/find', { type: SERVICE, id: 'istio-system/kiali' });
|
||||
try {
|
||||
this.kialiService = await this.$store.dispatch('cluster/find', { type: SERVICE, id: 'istio-system/kiali' });
|
||||
} catch {}
|
||||
},
|
||||
|
||||
data() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue