diff --git a/nextcloud_backup/backend/src/services/webdavService.ts b/nextcloud_backup/backend/src/services/webdavService.ts
index a614915..2eb71c5 100644
--- a/nextcloud_backup/backend/src/services/webdavService.ts
+++ b/nextcloud_backup/backend/src/services/webdavService.ts
@@ -139,7 +139,7 @@ function parseXmlBackupData(body: string) {
backups.push({
id: id,
lastEdit: lastEdit,
- size: propstat["d:prop"]["d:getcontentlenght"],
+ size: propstat["d:prop"]["d:getcontentlength"],
name: name,
});
}
diff --git a/nextcloud_backup/frontend/package.json b/nextcloud_backup/frontend/package.json
index 6cb9e13..1066fff 100644
--- a/nextcloud_backup/frontend/package.json
+++ b/nextcloud_backup/frontend/package.json
@@ -17,6 +17,7 @@
"ky": "^0.31.4",
"luxon": "^3.0.4",
"pinia": "^2.0.23",
+ "pretty-bytes": "^6.0.0",
"roboto-fontface": "*",
"vue": "^3.2.40",
"vuetify": "3.0.0-beta.15",
diff --git a/nextcloud_backup/frontend/pnpm-lock.yaml b/nextcloud_backup/frontend/pnpm-lock.yaml
index 6e0f7ce..4cf5d0e 100644
--- a/nextcloud_backup/frontend/pnpm-lock.yaml
+++ b/nextcloud_backup/frontend/pnpm-lock.yaml
@@ -18,6 +18,7 @@ specifiers:
npm-run-all: ^4.1.5
pinia: ^2.0.23
prettier: ^2.7.1
+ pretty-bytes: ^6.0.0
roboto-fontface: '*'
typescript: ~4.7.4
vite: ^3.1.7
@@ -34,6 +35,7 @@ dependencies:
ky: 0.31.4
luxon: 3.0.4
pinia: 2.0.23_rg374xhldfcyvjtaj3qktyfz5y
+ pretty-bytes: 6.0.0
roboto-fontface: 0.10.0
vue: 3.2.40
vuetify: 3.0.0-beta.15_vdkwhj2kz5kpysy3rwb432nm3y
@@ -1841,6 +1843,11 @@ packages:
hasBin: true
dev: true
+ /pretty-bytes/6.0.0:
+ resolution: {integrity: sha512-6UqkYefdogmzqAZWzJ7laYeJnaXDy2/J+ZqiiMtS7t7OfpXWTlaeGMwX8U6EFvPV/YWWEKRkS8hKS4k60WHTOg==}
+ engines: {node: ^14.13.1 || >=16.0.0}
+ dev: false
+
/punycode/2.1.1:
resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==}
engines: {node: '>=6'}
diff --git a/nextcloud_backup/frontend/src/components/MessageBar.vue b/nextcloud_backup/frontend/src/components/MessageBar.vue
index 147499a..61d877c 100644
--- a/nextcloud_backup/frontend/src/components/MessageBar.vue
+++ b/nextcloud_backup/frontend/src/components/MessageBar.vue
@@ -31,18 +31,23 @@
@click="show[index] = show[index] ? false : true"
size="small"
>
-