From 19e807a7f6e68598f0ea502e3df11ca126e3fe2d Mon Sep 17 00:00:00 2001 From: smanylov Date: Mon, 2 Feb 2026 12:49:31 +0700 Subject: [PATCH] fix link and text for navigation --- .../ui/dashboard/new/dashboard-last-check.tsx | 16 ++++++++++++---- src/app/ui/navigation/navigation.json | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/app/ui/dashboard/new/dashboard-last-check.tsx b/src/app/ui/dashboard/new/dashboard-last-check.tsx index a000925..c8de769 100644 --- a/src/app/ui/dashboard/new/dashboard-last-check.tsx +++ b/src/app/ui/dashboard/new/dashboard-last-check.tsx @@ -1,3 +1,5 @@ +import Link from 'next/link'; + export default function DashboardLastCheck() { return (
@@ -7,12 +9,18 @@ export default function DashboardLastCheck() { 17.10.2025 в 10:23
- - +
) diff --git a/src/app/ui/navigation/navigation.json b/src/app/ui/navigation/navigation.json index 8d2d423..068034c 100644 --- a/src/app/ui/navigation/navigation.json +++ b/src/app/ui/navigation/navigation.json @@ -20,7 +20,7 @@ "img": "M16 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm4 18v-6h2.5l-2.54-7.63A1.5 1.5 0 0 0 18.54 8H16c-.8 0-1.54.37-2 1l-3 4v2h2l2.54-3.82L16.5 18H20z" }, { - "name": "violations", + "name": "violations-few", "href": "/pages/violations", "img": "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" },