Browse Source

fix expiration date (#11625)

auth/remove-twoFactorProvider-property
Jordan Aasen 1 year ago committed by GitHub
parent
commit
0e23f5e0cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      apps/browser/src/tools/popup/send-v2/send-created/send-created.component.ts

4
apps/browser/src/tools/popup/send-v2/send-created/send-created.component.ts

@ -65,11 +65,11 @@ export class SendCreatedComponent { @@ -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 {

Loading…
Cancel
Save