mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-17 21:53:42 +08:00
🐛 fix: key cannot be activated after expiration
This commit is contained in:
@@ -192,7 +192,7 @@ export default function TokensTableRow({ item, manageToken, handleOpenModal, set
|
|||||||
id={`switch-${item.id}`}
|
id={`switch-${item.id}`}
|
||||||
checked={statusSwitch === 1}
|
checked={statusSwitch === 1}
|
||||||
onChange={handleStatus}
|
onChange={handleStatus}
|
||||||
disabled={statusSwitch !== 1 && statusSwitch !== 2}
|
// disabled={statusSwitch !== 1 && statusSwitch !== 2}
|
||||||
/>
|
/>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|||||||
Reference in New Issue
Block a user