fix: Reusable Pre-Auth Keys no longer show expired when used (#88)
This commit is contained in:
parent
698122068d
commit
9bb20024fa
2 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ export default function AuthKeyRow({ authKey, server }: Props) {
|
|||
tailscale up --login-server {server} --authkey {authKey.key}
|
||||
</Code>
|
||||
<div className="flex gap-4 items-center">
|
||||
{authKey.used ||
|
||||
{authKey.used && !authKey.reusable ||
|
||||
new Date(authKey.expiration) < new Date() ? undefined : (
|
||||
<ExpireKey authKey={authKey} />
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue