Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (storages): Fix default storage type prefill in playground

Rostislav Dugin81a01585ee61
diff --git a/frontend/src/features/storages/ui/edit/EditStorageComponent.tsx b/frontend/src/features/storages/ui/edit/EditStorageComponent.tsx
index 99efd310..85c0490c 100644
--- a/frontend/src/features/storages/ui/edit/EditStorageComponent.tsx
+++ b/frontend/src/features/storages/ui/edit/EditStorageComponent.tsx
@@ -193,7 +193,7 @@ export function EditStorageComponent({
id: undefined as unknown as string,
workspaceId,
name: '',
- type: StorageType.LOCAL,
+ type: IS_CLOUD ? StorageType.S3 : StorageType.LOCAL,
isSystem: false,
localStorage: {},
},