mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
This PR activates the limit for API token creation in both the global API token window and in the project-level API token tab. Because the same button is used in two places, I encapsulated the fetching of flags and resource limits within the button. I can be convinced to pass the current API token count and the limit as arguments, but I think this is the right solution for this case. |
||
|---|---|---|
| .. | ||
| CopyApiTokenButton | ||
| CreateApiTokenButton | ||
| RemoveApiTokenButton | ||
| ApiTokenTable.tsx | ||
| useApiTokenTable.tsx | ||