From cfb2f42e969f52390573db02e23b244c3716d243 Mon Sep 17 00:00:00 2001 From: smanylov Date: Thu, 23 Apr 2026 15:12:39 +0700 Subject: [PATCH] remove statistick block --- src/app/styles/pages-styles.scss | 3 ++- .../ui/dashboard/new/dashboard-user-stats.tsx | 17 +++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/app/styles/pages-styles.scss b/src/app/styles/pages-styles.scss index 942f254..5e7d390 100644 --- a/src/app/styles/pages-styles.scss +++ b/src/app/styles/pages-styles.scss @@ -1615,7 +1615,8 @@ .dashboard-user-stats { display: grid; - grid-template-columns: repeat(5, 1fr); + /* grid-template-columns: repeat(5, 1fr); */ + grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; max-width: calc(100vw - var(--side-bar-width) - 60px); diff --git a/src/app/ui/dashboard/new/dashboard-user-stats.tsx b/src/app/ui/dashboard/new/dashboard-user-stats.tsx index 99e289c..e140d51 100644 --- a/src/app/ui/dashboard/new/dashboard-user-stats.tsx +++ b/src/app/ui/dashboard/new/dashboard-user-stats.tsx @@ -46,7 +46,7 @@ export default function DashboardUserStats() { -
+ {/*
@@ -58,13 +58,26 @@ export default function DashboardUserStats() { filesInfo?.total.check ? filesInfo?.total.check : 0 )}
+
*/} +
+
+ {violationStatisticLoading ? ( +
+
+
+ ) : ( + violationStatistic?.total_violations ?? 0 + )} +
{t('matches-found')}
-
+