Fix template scope syntax & resourceType prop inputs

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:01:46 +02:00
parent 13c39e994c
commit 8bd9051739
11 changed files with 16 additions and 16 deletions
@@ -200,13 +200,13 @@ export default {
key-field="_key"
>
<template cell:state="scope" class="state-col">
<template #cell:state="scope" class="state-col">
<div class="state">
<HarvesterVmState class="vmstate" :row="scope.row" :all-node-network="allNodeNetworks" :all-cluster-network="allClusterNetworks" />
</div>
</template>
<template cell:name="scope">
<template #cell:name="scope">
<div class="name-console">
<router-link
v-if="scope.row.type !== HCI.VMI"
@@ -223,7 +223,7 @@ export default {
<span v-else>
{{ scope.row.metadata.name }}
</span>
<ConsoleBar :resource="scope.row" class="console mr-10 ml-10" />
<ConsoleBar :resourceType="scope.row" class="console mr-10 ml-10" />
</div>
</template>
</ResourceTable>