diff --git a/frontend/src/i18n/translations/de-DE.ts b/frontend/src/i18n/translations/de-DE.ts index d6d0fdb0..111a85d7 100644 --- a/frontend/src/i18n/translations/de-DE.ts +++ b/frontend/src/i18n/translations/de-DE.ts @@ -124,6 +124,7 @@ export default { "account.shares.table.expiresAt": "Läuft ab am", "account.shares.table.createdAt": "Angelegt am", "account.shares.table.size": "Größe", + "account.shares.table.expiry-never": "nie", "account.shares.modal.share-informations": "Teile deine Information", "account.shares.modal.share-link": "Freigabe teilen", "account.shares.modal.delete.title": "Freigabe löschen: {share}", diff --git a/frontend/src/i18n/translations/en-US.ts b/frontend/src/i18n/translations/en-US.ts index fa762808..ad61a690 100644 --- a/frontend/src/i18n/translations/en-US.ts +++ b/frontend/src/i18n/translations/en-US.ts @@ -158,6 +158,7 @@ export default { "account.shares.table.expiresAt": "Expires on", "account.shares.table.createdAt": "Created on", "account.shares.table.size": "Size", + "account.shares.table.expiry-never": "Never", "account.shares.modal.share-informations": "Share informations", "account.shares.modal.share-link": "Share link", diff --git a/frontend/src/pages/account/shares.tsx b/frontend/src/pages/account/shares.tsx index 9864ba19..8b64aaad 100644 --- a/frontend/src/pages/account/shares.tsx +++ b/frontend/src/pages/account/shares.tsx @@ -90,7 +90,7 @@ const MyShares = () => { {share.views} {moment(share.expiration).unix() === 0 - ? "Never" + ? : moment(share.expiration).format("LLL")}