Skip to content

Commit

Permalink
Merge branch 'main' into fix-query
Browse files Browse the repository at this point in the history
  • Loading branch information
AviAvni authored Apr 10, 2024
2 parents b713f9f + 48d30c5 commit 41c7568
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/graph/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ export default function Page() {
{
(showData || showGraph) &&
<TabsList className="h-fit flex flex-col p-0">
{showGraph && <TabsTrigger value="graph" onClick={() => setValue("graph")}>Graph</TabsTrigger>}
{showData && <TabsTrigger value="table" onClick={() => setValue("table")}>Table</TabsTrigger>}
{showGraph && <TabsTrigger className="w-full" value="graph" onClick={() => setValue("graph")}>Graph</TabsTrigger>}
{showData && <TabsTrigger className="w-full" value="table" onClick={() => setValue("table")}>Table</TabsTrigger>}
</TabsList>
}
</div>
Expand Down
5 changes: 4 additions & 1 deletion components/custom/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@ export default function Navbar({ collapsed, onExpand }: { collapsed: boolean, on
return (
<nav className={`w-full h-full bg-gray-100 dark:bg-gray-800 py-7 flex flex-col justify-between ${collapsed ? "items-center" : "justify-start"}`}>
<div className={`${!collapsed && "pl-2"}`}>
<Link href="" onClick={onExpand}>
<Link className="flex flex-row gap-2 underline underline-offset-2" href="" onClick={onExpand}>
<Menu className="h-6 w-6" />
{!collapsed && (
<p>FalkorDB</p>
)}
</Link>
{status === "authenticated" &&
<ul className="flex flex-col gap-5 pt-5">
Expand Down

0 comments on commit 41c7568

Please sign in to comment.