mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-14 12:21:10 -05:00
🐛 fix(payment): Disable webhook_secret field in PaymentForm component
This commit is contained in:
parent
356ae5b777
commit
d323af8bb6
@ -371,6 +371,7 @@ export default function PaymentForm<T>({
|
|||||||
? configValues[fieldKey]
|
? configValues[fieldKey]
|
||||||
: ''
|
: ''
|
||||||
}
|
}
|
||||||
|
disabled={fieldKey === 'webhook_secret'}
|
||||||
onValueChange={(value) => {
|
onValueChange={(value) => {
|
||||||
const newConfig = { ...configValues };
|
const newConfig = { ...configValues };
|
||||||
newConfig[fieldKey] = value;
|
newConfig[fieldKey] = value;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user