fix: key cannot be activated after expiration

This commit is contained in:
Martial BE 2024-01-13 15:05:53 +08:00
parent 0efe12fa6e
commit c867bfa716
No known key found for this signature in database
GPG Key ID: D06C32DF0EDB9084

View File

@ -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>