admin(ui): fix updateNode api request
This commit is contained in:
parent
3c2094890a
commit
f790404845
3 changed files with 17 additions and 2 deletions
|
@ -22,6 +22,7 @@ interface Values {
|
|||
publicPortHTTP: number;
|
||||
listenPortSFTP: number;
|
||||
publicPortSFTP: number;
|
||||
scheme: string;
|
||||
}
|
||||
|
||||
export default () => {
|
||||
|
@ -61,6 +62,7 @@ export default () => {
|
|||
publicPortHTTP: node.publicPortHTTP,
|
||||
listenPortSFTP: node.listenPortSFTP,
|
||||
publicPortSFTP: node.publicPortSFTP,
|
||||
scheme: node.scheme,
|
||||
}}
|
||||
validationSchema={object().shape({
|
||||
name: string().required().max(191),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue