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:
parent
72a52eb33f
commit
a47d080657
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue