Fix dashboard title for TCP middlewares
This commit is contained in:
parent
2bd60f9e60
commit
a7194e96e0
1 changed files with 4 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
||||||
<div v-if="hasMiddlewares" class="col-12 col-md-3 q-mb-lg path-block">
|
<div v-if="hasMiddlewares" class="col-12 col-md-3 q-mb-lg path-block">
|
||||||
<div class="row no-wrap items-center q-mb-lg app-title">
|
<div class="row no-wrap items-center q-mb-lg app-title">
|
||||||
<q-icon name="eva-layers"></q-icon>
|
<q-icon name="eva-layers"></q-icon>
|
||||||
<div class="app-title-label">HTTP Middlewares</div>
|
<div class="app-title-label">{{ middlewareType }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row items-start q-col-gutter-lg">
|
<div class="row items-start q-col-gutter-lg">
|
||||||
<div class="col-12 col-md-8">
|
<div class="col-12 col-md-8">
|
||||||
|
@ -187,6 +187,9 @@ export default {
|
||||||
hasTLSConfiguration () {
|
hasTLSConfiguration () {
|
||||||
return this.routerByName.item.tls
|
return this.routerByName.item.tls
|
||||||
},
|
},
|
||||||
|
middlewareType () {
|
||||||
|
return this.$route.meta.protocol.toUpperCase() + ' Middlewares'
|
||||||
|
},
|
||||||
routerType () {
|
routerType () {
|
||||||
return this.$route.meta.protocol.toUpperCase() + ' Router'
|
return this.$route.meta.protocol.toUpperCase() + ' Router'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue