mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: add provider value in edit destination
This commit is contained in:
parent
fee5bbc535
commit
2c258c84eb
@ -92,6 +92,7 @@ export const UpdateDestination = ({ destinationId }: Props) => {
|
||||
name: data.name,
|
||||
region: data.region,
|
||||
secretAccessKey: data.secretAccessKey,
|
||||
provider: data.provider || "",
|
||||
});
|
||||
}
|
||||
}, [form, form.reset, data]);
|
||||
@ -105,6 +106,7 @@ export const UpdateDestination = ({ destinationId }: Props) => {
|
||||
region: data.region,
|
||||
secretAccessKey: data.secretAccessKey,
|
||||
destinationId,
|
||||
provider: data.provider || "",
|
||||
})
|
||||
.then(async () => {
|
||||
toast.success("Destination Updated");
|
||||
|
@ -82,6 +82,7 @@ export const apiUpdateDestination = createSchema
|
||||
endpoint: true,
|
||||
secretAccessKey: true,
|
||||
destinationId: true,
|
||||
provider: true,
|
||||
})
|
||||
.required()
|
||||
.extend({
|
||||
|
Loading…
Reference in New Issue
Block a user