mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
Fix AttachedVM field in Volumes page
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
parent
aeabf880f8
commit
aff5751c39
@ -146,27 +146,16 @@ export default {
|
|||||||
:rows="rows"
|
:rows="rows"
|
||||||
:schema="schema"
|
:schema="schema"
|
||||||
key-field="_key"
|
key-field="_key"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template
|
<template #cell:state="{row}">
|
||||||
cell:state="scope"
|
|
||||||
>
|
|
||||||
<div class="state">
|
<div class="state">
|
||||||
<HarvesterVolumeState
|
<HarvesterVolumeState class="vmstate" :row="row" />
|
||||||
class="vmstate"
|
|
||||||
:row="scope.row"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template #cell:AttachedVM="{row}">
|
||||||
cell:AttachedVM="scope"
|
|
||||||
>
|
|
||||||
<div>
|
<div>
|
||||||
<router-link
|
<router-link v-if="getVMName(row)" :to="goTo(row)">
|
||||||
v-if="getVMName(scope.row)"
|
{{ getVMName(row) }}
|
||||||
:to="goTo(scope.row)"
|
|
||||||
>
|
|
||||||
{{ getVMName(scope.row) }}
|
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user