mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Added never as one of the options
This commit is contained in:
parent
61de5b88ac
commit
d6f183e1f2
1 changed files with 3 additions and 1 deletions
|
|
@ -113,13 +113,15 @@ export default function Api(): JSX.Element {
|
|||
case '1 year':
|
||||
additionalDays = 365
|
||||
break
|
||||
case 'never':
|
||||
break;
|
||||
}
|
||||
const newExpires = new Date()
|
||||
newExpires.setDate(newExpires.getDate() + additionalDays)
|
||||
setExpiresAt(newExpires)
|
||||
},
|
||||
type: 'select',
|
||||
options: ['7 days', '30 days', '90 days', '1 year'],
|
||||
options: ['7 days', '30 days', '90 days', '1 year', 'never'],
|
||||
value: defaultExpiresAt,
|
||||
},
|
||||
])
|
||||
|
|
|
|||
Loading…
Reference in a new issue