mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-10 00:15:28 +02:00
Merge branch 'Dokploy:canary' into fix/command-dialog-crash
This commit is contained in:
@@ -87,29 +87,29 @@ export const RebuildDatabase = ({ id, type }: Props) => {
|
|||||||
<AlertTriangle className="h-5 w-5 text-destructive" />
|
<AlertTriangle className="h-5 w-5 text-destructive" />
|
||||||
Are you absolutely sure?
|
Are you absolutely sure?
|
||||||
</AlertDialogTitle>
|
</AlertDialogTitle>
|
||||||
<AlertDialogDescription className="space-y-2">
|
<AlertDialogDescription asChild>
|
||||||
<p>This action will:</p>
|
<div className="space-y-2">
|
||||||
<ul className="list-disc list-inside space-y-1">
|
<p>This action will:</p>
|
||||||
<li>Stop the current database service</li>
|
<ul className="list-disc list-inside space-y-1">
|
||||||
<li>Delete all existing data and volumes</li>
|
<li>Stop the current database service</li>
|
||||||
<li>Reset to the default configuration</li>
|
<li>Delete all existing data and volumes</li>
|
||||||
<li>Restart the service with a clean state</li>
|
<li>Reset to the default configuration</li>
|
||||||
</ul>
|
<li>Restart the service with a clean state</li>
|
||||||
<p className="font-medium text-destructive mt-4">
|
</ul>
|
||||||
This action cannot be undone.
|
<p className="font-medium text-destructive mt-4">
|
||||||
</p>
|
This action cannot be undone.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
</AlertDialogDescription>
|
</AlertDialogDescription>
|
||||||
</AlertDialogHeader>
|
</AlertDialogHeader>
|
||||||
<AlertDialogFooter>
|
<AlertDialogFooter>
|
||||||
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
||||||
<AlertDialogAction
|
<AlertDialogAction
|
||||||
onClick={handleRebuild}
|
onClick={handleRebuild}
|
||||||
className="bg-destructive text-destructive-foreground hover:bg-destructive/90"
|
disabled={isPending}
|
||||||
asChild
|
variant="destructive"
|
||||||
>
|
>
|
||||||
<Button isLoading={isPending} type="submit">
|
Yes, rebuild database
|
||||||
Yes, rebuild database
|
|
||||||
</Button>
|
|
||||||
</AlertDialogAction>
|
</AlertDialogAction>
|
||||||
</AlertDialogFooter>
|
</AlertDialogFooter>
|
||||||
</AlertDialogContent>
|
</AlertDialogContent>
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ function SidebarContent({ className, ...props }: React.ComponentProps<"div">) {
|
|||||||
data-slot="sidebar-content"
|
data-slot="sidebar-content"
|
||||||
data-sidebar="content"
|
data-sidebar="content"
|
||||||
className={cn(
|
className={cn(
|
||||||
"no-scrollbar flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
|
"no-scrollbar flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto overflow-x-hidden",
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dokploy",
|
"name": "dokploy",
|
||||||
"version": "v0.29.10",
|
"version": "v0.29.11",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Reference in New Issue
Block a user