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')}
-
+