0
Fork 0
mirror of https://github.com/stonith404/pingvin-share.git synced 2025-01-29 01:28:59 -05:00

fix: share expiration never doesn't work if using another language than English

This commit is contained in:
Elias Schneider 2023-07-31 16:34:24 +02:00
parent 72a52eb33f
commit a47d080657
No known key found for this signature in database
GPG key ID: 07E623B294202B6C

View file

@ -119,7 +119,7 @@ const CreateUploadModalBody = ({
form.setFieldError("link", t("upload.modal.link.error.taken"));
} else {
const expiration = form.values.never_expires
? t("upload.modal.expires.never")
? "never"
: form.values.expiration_num + form.values.expiration_unit;
uploadCallback({
id: values.link,