Files
cc-switch/src
Jason 924ad44e6c fix(usage): correct selectedTemplate initialization logic
Previously, selectedTemplate was initialized to null when no NEW_API
credentials were detected, which caused the credentials config section
to be hidden even for new configurations or GENERAL template users.

Now properly detects:
- NEW_API template (has accessToken or userId)
- GENERAL template (has apiKey or baseUrl)
- Default to GENERAL for new configurations (matches default code template)
2025-11-28 11:10:22 +08:00
..
2025-11-24 11:00:45 +08:00
2025-11-25 09:30:55 +08:00
2025-11-22 19:18:35 +08:00
2025-11-05 10:29:28 +08:00