mirror of https://github.com/apache/cloudstack.git
ui: fix physical network guest traffix type tab (#6096)
Fixes icon Fixes object change Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
59f0d558ec
commit
d828fd247f
|
|
@ -34,10 +34,10 @@
|
||||||
:rowKey="record => record.id"
|
:rowKey="record => record.id"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
>
|
>
|
||||||
<template #name="{ text }">
|
<template #name="{ text, record }">
|
||||||
<resource-icon v-if="item.icon" :image="item.icon.base64image" size="1x" style="margin-right: 5px"/>
|
<resource-icon v-if="record.icon" :image="record.icon.base64image" size="1x" style="margin-right: 5px"/>
|
||||||
<apartment-outlined v-else style="margin-right: 5px"/>
|
<apartment-outlined v-else style="margin-right: 5px"/>
|
||||||
<router-link :to="{ path: '/guestnetwork/' + item.id }">
|
<router-link :to="{ path: '/guestnetwork/' + record.id }">
|
||||||
{{ text }}
|
{{ text }}
|
||||||
</router-link>
|
</router-link>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -137,7 +137,7 @@ export default {
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
network (newItem, oldItem) {
|
resource (newItem, oldItem) {
|
||||||
if (!newItem || !newItem.id) {
|
if (!newItem || !newItem.id) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue