chore(frontend/share): displays the never expire checkbox if the system allows. (#371)
This commit is contained in:
@@ -282,10 +282,11 @@ const CreateUploadModalBody = ({
|
||||
/>
|
||||
</Col>
|
||||
</Grid>
|
||||
<Checkbox
|
||||
{ options.maxExpirationInHours == 0 && <Checkbox
|
||||
label={t("upload.modal.expires.never-long")}
|
||||
{...form.getInputProps("never_expires")}
|
||||
/>
|
||||
}
|
||||
<Text
|
||||
italic
|
||||
size="xs"
|
||||
|
||||
Reference in New Issue
Block a user