diff --git a/src/features/edit-settings-platform-form/ui/EditSettingsPlatformForm.tsx b/src/features/edit-settings-platform-form/ui/EditSettingsPlatformForm.tsx index c58996b..22dc612 100644 --- a/src/features/edit-settings-platform-form/ui/EditSettingsPlatformForm.tsx +++ b/src/features/edit-settings-platform-form/ui/EditSettingsPlatformForm.tsx @@ -32,7 +32,8 @@ export const EditSettingsPlatformForm = () => { storageHost: platform?.storageHost || "", storageLogin: platform?.storageLogin || "", storagePassword: "", - textureProtocol: platform?.textureProtocol || Protocol.HTTPS, + textureProtocol: + platform?.textureProtocol === Protocol.HTTPS ? Protocol.HTTPS : Protocol.HTTP, }, resolver: zodResolver(EditSettingsPlatformSchema), });