Update pankow to v4 to fix TableView bug

This commit is contained in:
Johannes Zellner
2026-02-12 20:28:04 +01:00
parent e76d4b3474
commit c5cf8eef1a
18 changed files with 95 additions and 97 deletions
@@ -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">&nbsp;<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>