parent
5227115f05
commit
f8b3595344
1 changed files with 3 additions and 1 deletions
|
@ -42,7 +42,9 @@ export const TokenLifespan = ({
|
|||
const onBlur = () => setFocused(false);
|
||||
|
||||
const isExpireSet = (value: string | number) =>
|
||||
(typeof value === "number" && value !== -1) || focused;
|
||||
(typeof value === "number" && value !== -1) ||
|
||||
(typeof value === "string" && value !== "" && value !== "-1") ||
|
||||
focused;
|
||||
|
||||
return (
|
||||
<FormGroup
|
||||
|
|
Loading…
Reference in a new issue