mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 04:22:16 +00:00
refactor: remove props being passes to AdvanceBreadcrumb
This commit is contained in:
@@ -865,7 +865,7 @@ const EnvironmentPage = (
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<AdvanceBreadcrumb projectId={projectId} environmentId={environmentId} />
|
<AdvanceBreadcrumb />
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
Environment: {currentEnvironment.name} | {projectData?.name} | Dokploy
|
Environment: {currentEnvironment.name} | {projectData?.name} | Dokploy
|
||||||
|
|||||||
+1
-6
@@ -104,12 +104,7 @@ const Service = (
|
|||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
<UseKeyboardNav forPage="application" />
|
<UseKeyboardNav forPage="application" />
|
||||||
<AdvanceBreadcrumb
|
<AdvanceBreadcrumb />
|
||||||
projectId={projectId as string}
|
|
||||||
environmentId={environmentId as string}
|
|
||||||
serviceId={applicationId}
|
|
||||||
serviceType="application"
|
|
||||||
/>
|
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
Application: {data?.name} - {data?.environment.project.name} | Dokploy
|
Application: {data?.name} - {data?.environment.project.name} | Dokploy
|
||||||
|
|||||||
+1
-6
@@ -93,12 +93,7 @@ const Service = (
|
|||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
<UseKeyboardNav forPage="compose" />
|
<UseKeyboardNav forPage="compose" />
|
||||||
<AdvanceBreadcrumb
|
<AdvanceBreadcrumb />
|
||||||
projectId={projectId as string}
|
|
||||||
environmentId={environmentId as string}
|
|
||||||
serviceId={composeId}
|
|
||||||
serviceType="compose"
|
|
||||||
/>
|
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
Compose: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
Compose: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
||||||
|
|||||||
+1
-6
@@ -74,12 +74,7 @@ const Mariadb = (
|
|||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
<UseKeyboardNav forPage="mariadb" />
|
<UseKeyboardNav forPage="mariadb" />
|
||||||
<AdvanceBreadcrumb
|
<AdvanceBreadcrumb />
|
||||||
projectId={projectId as string}
|
|
||||||
environmentId={environmentId as string}
|
|
||||||
serviceId={mariadbId}
|
|
||||||
serviceType="mariadb"
|
|
||||||
/>
|
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
|
|||||||
+1
-6
@@ -73,12 +73,7 @@ const Mongo = (
|
|||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
<UseKeyboardNav forPage="mongodb" />
|
<UseKeyboardNav forPage="mongodb" />
|
||||||
<AdvanceBreadcrumb
|
<AdvanceBreadcrumb />
|
||||||
projectId={projectId as string}
|
|
||||||
environmentId={environmentId as string}
|
|
||||||
serviceId={mongoId}
|
|
||||||
serviceType="mongo"
|
|
||||||
/>
|
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
Database: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
Database: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
||||||
|
|||||||
+1
-6
@@ -72,12 +72,7 @@ const MySql = (
|
|||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
<UseKeyboardNav forPage="mysql" />
|
<UseKeyboardNav forPage="mysql" />
|
||||||
<AdvanceBreadcrumb
|
<AdvanceBreadcrumb />
|
||||||
projectId={projectId as string}
|
|
||||||
environmentId={environmentId as string}
|
|
||||||
serviceId={mysqlId}
|
|
||||||
serviceType="mysql"
|
|
||||||
/>
|
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
|
|||||||
+1
-6
@@ -72,12 +72,7 @@ const Postgresql = (
|
|||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
<UseKeyboardNav forPage="postgres" />
|
<UseKeyboardNav forPage="postgres" />
|
||||||
<AdvanceBreadcrumb
|
<AdvanceBreadcrumb />
|
||||||
projectId={projectId as string}
|
|
||||||
environmentId={environmentId as string}
|
|
||||||
serviceId={postgresId}
|
|
||||||
serviceType="postgres"
|
|
||||||
/>
|
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
Database: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
Database: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
||||||
|
|||||||
+1
-6
@@ -72,12 +72,7 @@ const Redis = (
|
|||||||
return (
|
return (
|
||||||
<div className="pb-10">
|
<div className="pb-10">
|
||||||
<UseKeyboardNav forPage="redis" />
|
<UseKeyboardNav forPage="redis" />
|
||||||
<AdvanceBreadcrumb
|
<AdvanceBreadcrumb />
|
||||||
projectId={projectId as string}
|
|
||||||
environmentId={environmentId as string}
|
|
||||||
serviceId={redisId}
|
|
||||||
serviceType="redis"
|
|
||||||
/>
|
|
||||||
<Head>
|
<Head>
|
||||||
<title>
|
<title>
|
||||||
Database: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
Database: {data?.name} - {data?.environment?.project?.name} | Dokploy
|
||||||
|
|||||||
Reference in New Issue
Block a user