mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Ready for 1.1.2-rc.3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,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)]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user