diff --git a/CHANGELOG.md b/CHANGELOG.md index 12eeeec..5c39b97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ + +# Changelog + +# [1.6.0](https://github.com/perfect-panel/ppanel-web/compare/v1.5.4...v1.6.0) (2025-10-28) + + +### ✨ Features + +* Add server installation dialog and commands ([4429c9d](https://github.com/perfect-panel/ppanel-web/commit/4429c9d)) + + +### 🐛 Bug Fixes + +* Add typeRoots configuration to ensure type definitions are resolved correctly ([ad60ea9](https://github.com/perfect-panel/ppanel-web/commit/ad60ea9)) + # Changelog diff --git a/apps/admin/app/dashboard/servers/server-form.tsx b/apps/admin/app/dashboard/servers/server-form.tsx index f2a5e77..4857462 100644 --- a/apps/admin/app/dashboard/servers/server-form.tsx +++ b/apps/admin/app/dashboard/servers/server-form.tsx @@ -356,7 +356,8 @@ export default function ServerForm(props: { ...initialValues, protocols: PROTOCOLS.map((type) => { const existingProtocol = initialValues.protocols?.find((p) => p.type === type); - return existingProtocol || getProtocolDefaultConfig(type); + const defaultConfig = getProtocolDefaultConfig(type); + return existingProtocol ? { ...defaultConfig, ...existingProtocol } : defaultConfig; }), }); } diff --git a/package.json b/package.json index 0bc9840..4f9cf10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ppanel-web", - "version": "1.5.4", + "version": "1.6.0", "private": true, "homepage": "https://github.com/perfect-panel/ppanel-web", "bugs": {