1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-15 03:50:11 +01:00

fix: share size not displayed on my shares page

This commit is contained in:
Elias Schneider 2024-06-10 11:41:41 +02:00
parent 4fd29037a0
commit c0cc16fa43
No known key found for this signature in database
GPG Key ID: 07E623B294202B6C

View File

@ -229,6 +229,7 @@ export class ShareService {
return shares.map((share) => {
return {
...share,
size: share.files.reduce((acc, file) => acc + parseInt(file.size), 0),
recipients: share.recipients.map((recipients) => recipients.email),
};
});