feat: add show/hide and copy for API keys on dev page
- Display client key and server key on Settings app cards with toggle visibility and copy button - Hide API keys table in Desa Mandiri Keys tab behind toggle + copy - Add eye toggle to password inputs in Add App and Edit API Config modals - Backend now returns apiKey and clientApiKey in apps list endpoint
This commit is contained in:
@@ -370,6 +370,8 @@ export function createApp() {
|
||||
errors: app.bugs.length,
|
||||
active: app.active,
|
||||
urlApi: app.urlApi,
|
||||
apiKey: app.apiKey ?? '',
|
||||
clientApiKey: app.clientApiKey ?? '',
|
||||
hasClientApiKey: !!app.clientApiKey,
|
||||
}))
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user