Ready for 1.1.2-rc.3

This commit is contained in:
charlesgauthereau
2025-09-26 09:04:18 +02:00
parent a3f5c4e494
commit b7f161d200
9 changed files with 226 additions and 100 deletions
+1 -3
View File
@@ -101,12 +101,10 @@ export function backupColumns(isAlreadyRestore: boolean, settings: Setting, data
const mutationDeleteBackup = useMutation({
mutationFn: async () => {
const deletion = await deleteBackupAction({
backupId: rowData.id,
databaseId: rowData.databaseId,
file: rowData.file!,
file: rowData.file ?? "",
projectSlug: database.project?.slug!
});
// @ts-ignore
+12 -7
View File
@@ -1,9 +1,10 @@
import { notFound } from "next/navigation";
import {notFound} from "next/navigation";
import { SidebarTrigger } from "@/components/ui/sidebar";
import { ModeToggle } from "@/features/theme/ModeToggle";
import { currentUser } from "@/lib/auth/current-user";
import {SidebarTrigger} from "@/components/ui/sidebar";
import {ModeToggle} from "@/features/theme/ModeToggle";
import {currentUser} from "@/lib/auth/current-user";
import {LoggedInButton} from "@/components/wrappers/dashboard/common/logged-in/logged-in-button";
import {BreadCrumbsWrapper} from "@/components/wrappers/common/bread-crumbs/bread-crumbs";
export const Header = async () => {
const user = await currentUser();
@@ -12,10 +13,14 @@ export const Header = async () => {
}
return (
<header className="flex h-16 shrink-0 items-center justify-between border-b px-4">
<SidebarTrigger className="-ml-1" />
<div className="flex items-center justify-between">
<SidebarTrigger className="-ml-1"/>
<BreadCrumbsWrapper/>
</div>
<div className="flex items-center gap-2">
<ModeToggle />
<LoggedInButton />
<ModeToggle/>
<LoggedInButton/>
</div>
</header>
);
+1 -1
View File
@@ -1,7 +1,7 @@
import { twx } from "@/lib/twx";
import { cn } from "@/lib/utils";
export const Page = twx.div((props) => [cn(`flex flex-col h-full px-10 py-6`, props.className)]);
export const Page = twx.div((props) => [cn(`flex flex-col h-full px-5 md:px-10 py-6`, props.className)]);
export const PageHeader = twx.div((props) => [cn(`flex justify-between`, props.className)]);