Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot c86d28f798 🔖 chore(release): v1.0.1 [skip ci]
## [1.0.1](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0...v1.0.1) (2025-04-28)

### 🐛 Bug Fixes

* **payment**: Disable webhook_secret field in PaymentForm component ([d323af8](https://github.com/perfect-panel/ppanel-web/commit/d323af8))
* **recharge**: Set balance prop to false in PaymentMethods component ([356ae5b](https://github.com/perfect-panel/ppanel-web/commit/356ae5b))
2025-04-28 11:54:50 +00:00
web@ppanel d323af8bb6 🐛 fix(payment): Disable webhook_secret field in PaymentForm component 2025-04-28 11:51:41 +00:00
web@ppanel 356ae5b777 🐛 fix(recharge): Set balance prop to false in PaymentMethods component 2025-04-28 11:30:06 +00:00
4 changed files with 11 additions and 1 deletions
+8
View File
@@ -1,6 +1,14 @@
<a name="readme-top"></a> <a name="readme-top"></a>
# Changelog # Changelog
## [1.0.1](https://github.com/perfect-panel/ppanel-web/compare/v1.0.0...v1.0.1) (2025-04-28)
### 🐛 Bug Fixes
* **payment**: Disable webhook_secret field in PaymentForm component ([d323af8](https://github.com/perfect-panel/ppanel-web/commit/d323af8))
* **recharge**: Set balance prop to false in PaymentMethods component ([356ae5b](https://github.com/perfect-panel/ppanel-web/commit/356ae5b))
# 1.0.0 (2025-04-24) # 1.0.0 (2025-04-24)
@@ -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;
@@ -65,6 +65,7 @@ export default function Recharge(props: Readonly<ButtonProps>) {
/> />
</div> </div>
<PaymentMethods <PaymentMethods
balance={false}
value={params.payment} value={params.payment}
onChange={(value) => setParams({ ...params, payment: value })} onChange={(value) => setParams({ ...params, payment: value })}
/> />
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "ppanel-web", "name": "ppanel-web",
"version": "1.0.0", "version": "1.0.1",
"private": true, "private": true,
"homepage": "https://github.com/perfect-panel/ppanel-web", "homepage": "https://github.com/perfect-panel/ppanel-web",
"bugs": { "bugs": {