Merge branch 'canary' into 139-multi-server-feature

This commit is contained in:
Mauricio Siu
2024-09-21 22:55:15 -06:00
8 changed files with 44 additions and 22 deletions

View File

@@ -81,7 +81,10 @@ export const ShowClusterSettings = ({ applicationId }: Props) => {
const onSubmit = async (data: AddCommand) => {
await mutateAsync({
applicationId,
registryId: data?.registryId === "none" ? null : data?.registryId,
registryId:
data?.registryId === "none" || !data?.registryId
? null
: data?.registryId,
replicas: data?.replicas,
})
.then(async () => {