From 0e23f5e0cde37fa9c27260f8ee4d7ceed31fc809 Mon Sep 17 00:00:00 2001 From: Jordan Aasen <166539328+jaasen-livefront@users.noreply.github.com> Date: Fri, 18 Oct 2024 11:06:23 -0700 Subject: [PATCH] fix expiration date (#11625) --- .../popup/send-v2/send-created/send-created.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/browser/src/tools/popup/send-v2/send-created/send-created.component.ts b/apps/browser/src/tools/popup/send-v2/send-created/send-created.component.ts index ae66d14d3f..88475d7dad 100644 --- a/apps/browser/src/tools/popup/send-v2/send-created/send-created.component.ts +++ b/apps/browser/src/tools/popup/send-v2/send-created/send-created.component.ts @@ -65,11 +65,11 @@ export class SendCreatedComponent { if (this.hoursAvailable < 24) { return this.hoursAvailable === 1 ? this.i18nService.t("sendExpiresInHoursSingle") - : this.i18nService.t("sendExpiresInHours", this.hoursAvailable); + : this.i18nService.t("sendExpiresInHours", String(this.hoursAvailable)); } return this.daysAvailable === 1 ? this.i18nService.t("sendExpiresInDaysSingle") - : this.i18nService.t("sendExpiresInDays", this.daysAvailable); + : this.i18nService.t("sendExpiresInDays", String(this.daysAvailable)); } getHoursAvailable(send: SendView): number {