Update pankow to v4 to fix TableView bug
This commit is contained in:
@@ -272,7 +272,7 @@ defineExpose({ refresh });
|
||||
</template>
|
||||
|
||||
<TableView :columns="columns" :model="backups" :busy="busy" :placeholder="$t('backups.listing.noBackups')">
|
||||
<template #creationTime="backup">
|
||||
<template #creationTime="{ item:backup }">
|
||||
<div>
|
||||
<span>{{ prettyLongDate(backup.creationTime) }}</span>
|
||||
<span v-if="backup.label"> <b>{{ backup.label }}</b></span>
|
||||
@@ -280,18 +280,18 @@ defineExpose({ refresh });
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template #content="backup">
|
||||
<template #content="{ item:backup }">
|
||||
<span v-if="backup.appCount">{{ $t('backups.listing.appCount', { appCount: backup.appCount }) }}</span>
|
||||
<span v-else>{{ $t('backups.listing.noApps') }}</span>
|
||||
</template>
|
||||
|
||||
<template #size="backup">
|
||||
<template #size="{ item:backup }">
|
||||
<span v-if="backup.stats?.aggregatedUpload">{{ prettyFileSize(backup.stats.aggregatedUpload.size) }} | {{ backup.stats.aggregatedUpload.fileCount }} file(s)</span>
|
||||
</template>
|
||||
|
||||
<template #site="backup">{{ backup.site.name }}</template>
|
||||
<template #site="{ item:backup }">{{ backup.site.name }}</template>
|
||||
|
||||
<template #actions="backup">
|
||||
<template #actions="{ item:backup }">
|
||||
<ActionBar :actions="createActionMenu(backup)"/>
|
||||
</template>
|
||||
</TableView>
|
||||
|
||||
Reference in New Issue
Block a user