Fix AttachedVM field in Volumes page

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia 2024-09-30 16:58:37 +02:00
parent aeabf880f8
commit aff5751c39
No known key found for this signature in database
GPG Key ID: E6D011B7415D4393

View File

@ -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>