mirror of
https://github.com/apidoorman/doorman.git
synced 2026-02-11 03:58:39 -06:00
ui page fix
This commit is contained in:
@@ -351,7 +351,7 @@ const ApiDetailPage = () => {
|
||||
setPubCredsConfirmOpen(true)
|
||||
return
|
||||
}
|
||||
if (field === 'api_credits_enabled' && value === true && (currentPublic || (field === 'api_public' && value === true))) {
|
||||
if (field === 'api_credits_enabled' && value === true && currentPublic) {
|
||||
setPendingPubCredsField({ field: 'api_credits_enabled', value: true })
|
||||
setPubCredsConfirmOpen(true)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user