From 307916a49aaca065438d3b763adaca9f0a0fa92a Mon Sep 17 00:00:00 2001 From: Oliver Geneser Date: Sat, 13 Sep 2025 14:44:08 +0200 Subject: [PATCH] fix: options in enable namespace selection --- .../libsql/general/show-internal-libsql-credentials.tsx | 7 +++---- apps/dokploy/components/dashboard/project/add-database.tsx | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx b/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx index 0dcf52264..6c1350242 100644 --- a/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx +++ b/apps/dokploy/components/dashboard/libsql/general/show-internal-libsql-credentials.tsx @@ -1,7 +1,6 @@ import { SelectGroup } from "@radix-ui/react-select"; import { ToggleVisibilityInput } from "@/components/shared/toggle-visibility-input"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; -import { Checkbox } from "@/components/ui/checkbox"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { @@ -81,15 +80,15 @@ export const ShowInternalLibsqlCredentials = ({ libsqlId }: Props) => { defaultValue={ data?.enableNamespaces ? String(data?.enableNamespaces) - : "False" + : "false" } > - + - {["False", "True"].map((node) => ( + {["false", "true"].map((node) => ( {node.charAt(0).toUpperCase() + node.slice(1)} diff --git a/apps/dokploy/components/dashboard/project/add-database.tsx b/apps/dokploy/components/dashboard/project/add-database.tsx index 69845b543..9b68ee37c 100644 --- a/apps/dokploy/components/dashboard/project/add-database.tsx +++ b/apps/dokploy/components/dashboard/project/add-database.tsx @@ -13,7 +13,6 @@ import { RedisIcon, } from "@/components/icons/data-tools-icons"; import { Button } from "@/components/ui/button"; -import { Checkbox } from "@/components/ui/checkbox"; import { Dialog, DialogContent, @@ -643,15 +642,15 @@ export const AddDatabase = ({ environmentId, projectName }: Props) => { field.onChange(Boolean(value)) } defaultValue={ - field.value ? String(field.value) : "False" + field.value ? String(field.value) : "false" } > - + - {["False", "True"].map((node) => ( + {["false", "true"].map((node) => ( {node.charAt(0).toUpperCase() + node.slice(1)}