Fix instance & backup resource table columns (#9147)

Co-authored-by: Henrique Sato <henrique.sato@scclouds.com.br>
This commit is contained in:
Henrique Sato 2024-06-07 04:55:54 -03:00 committed by Vishesh
parent 7977d1475e
commit ca66b76cb9
No known key found for this signature in database
GPG Key ID: 4E395186CBFA790B

View File

@ -41,21 +41,20 @@
<template v-if="column.key === col">
<router-link :set="routerlink = routerlinks(record)" :to="{ path: routerlink[col] }" >{{ text }}</router-link>
</template>
<template v-else-if="['state', 'status'].includes(column.key)">
<status :text="text ? text : ''" />{{ text }}
</template>
<template v-else-if="column.key === 'created'">
{{ $toLocaleDate(text) }}
</template>
<template v-else>
{{ text }}
</template>
</div>
<template v-if="column.key === 'state'">
<status :text="text ? text : ''" />{{ text }}
</template>
<template v-if="column.key === 'status'">
<status :text="text ? text : ''" />{{ text }}
</template>
</template>
<template v-slot:created="{ item }">
{{ $toLocaleDate(item) }}
</template>
</a-table>
<div v-if="!defaultPagination" style="display: block; text-align: right; margin-top: 10px;">