We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2ab1cf commit 90fd90bCopy full SHA for 90fd90b
site/src/pages/CreateTokenPage/utils.ts
@@ -46,7 +46,7 @@ export const filterByMaxTokenLifetime = (
46
47
// otherwise only return options that are less than or equal to the max lifetime
48
return lifetimeDayPresets.filter(
49
- (lifetime) => lifetime.value <= maxTokenLifetime / NANO_HOUR / 24,
+ (lifetime) => Number(lifetime.value) <= maxTokenLifetime / NANO_HOUR / 24,
50
)
51
}
52
0 commit comments