mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: add breadcrumb redis
This commit is contained in:
@@ -10,6 +10,7 @@ import { ShowInternalRedisCredentials } from "@/components/dashboard/redis/gener
|
|||||||
import { UpdateRedis } from "@/components/dashboard/redis/update-redis";
|
import { UpdateRedis } from "@/components/dashboard/redis/update-redis";
|
||||||
import { RedisIcon } from "@/components/icons/data-tools-icons";
|
import { RedisIcon } from "@/components/icons/data-tools-icons";
|
||||||
import { ProjectLayout } from "@/components/layouts/project-layout";
|
import { ProjectLayout } from "@/components/layouts/project-layout";
|
||||||
|
import { BreadcrumbSidebar } from "@/components/shared/breadcrumb-sidebar";
|
||||||
import { DialogAction } from "@/components/shared/dialog-action";
|
import { DialogAction } from "@/components/shared/dialog-action";
|
||||||
import { StatusTooltip } from "@/components/shared/status-tooltip";
|
import { StatusTooltip } from "@/components/shared/status-tooltip";
|
||||||
import { Badge } from "@/components/ui/badge";
|
import { Badge } from "@/components/ui/badge";
|
||||||
@@ -71,7 +72,19 @@ const Redis = (
|
|||||||
api.redis.remove.useMutation();
|
api.redis.remove.useMutation();
|
||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
{" "}
|
<BreadcrumbSidebar
|
||||||
|
list={[
|
||||||
|
{ name: "Projects", href: "/dashboard/projects" },
|
||||||
|
{
|
||||||
|
name: data?.project?.name || "",
|
||||||
|
href: `/dashboard/project/${projectId}`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: data?.name || "",
|
||||||
|
href: `/dashboard/project/${projectId}/services/redis/${redisId}`,
|
||||||
|
},
|
||||||
|
]}
|
||||||
|
/>
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
Database: {data?.name} - {data?.project.name} | Dokploy
|
Database: {data?.name} - {data?.project.name} | Dokploy
|
||||||
|
|||||||
Reference in New Issue
Block a user