Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/layouts/DashboardLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
<span class="nav-count">{{ stats.services }}</span>
Services
</router-link>
<router-link to="/cron-jobs" class="nav-subitem" active-class="active"> Cron Jobs </router-link>
</div>
</div>

Expand Down Expand Up @@ -316,6 +317,7 @@ const currentPageTitle = computed(() => {
infrastructure: "Infrastructure",
"system-ports": "System Ports",
services: "System Services",
"cron-jobs": "Cron Jobs",
databases: "Database Servers",
security: "Security & Monitoring",
certificates: "SSL Certificates",
Expand All @@ -337,7 +339,7 @@ const breadcrumbs = computed(() => {
} else if (["containers", "images", "volumes", "networks", "docker-ports"].includes(routeName)) {
crumbs.push({ label: "Docker", path: "" });
crumbs.push({ label: currentPageTitle.value, path: "" });
} else if (["infrastructure", "system-ports", "services"].includes(routeName)) {
} else if (["infrastructure", "system-ports", "services", "cron-jobs"].includes(routeName)) {
crumbs.push({ label: "System", path: "" });
crumbs.push({ label: currentPageTitle.value, path: "" });
} else if (routeName === "databases") {
Expand Down
5 changes: 5 additions & 0 deletions src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ const routes: RouteRecordRaw[] = [
name: "security",
component: () => import("@/views/SecurityView.vue"),
},
{
path: "cron-jobs",
name: "cron-jobs",
component: () => import("@/views/CronJobsView.vue"),
},
],
},
];
Expand Down
Loading