remove statistick block

This commit is contained in:
smanylov
2026-04-23 15:12:39 +07:00
parent cbbfb1c6ad
commit cfb2f42e96
2 changed files with 17 additions and 3 deletions
+2 -1
View File
@@ -1615,7 +1615,8 @@
.dashboard-user-stats { .dashboard-user-stats {
display: grid; display: grid;
grid-template-columns: repeat(5, 1fr); /* grid-template-columns: repeat(5, 1fr); */
grid-template-columns: repeat(4, 1fr);
gap: 20px; gap: 20px;
margin-bottom: 40px; margin-bottom: 40px;
max-width: calc(100vw - var(--side-bar-width) - 60px); max-width: calc(100vw - var(--side-bar-width) - 60px);
@@ -46,7 +46,7 @@ export default function DashboardUserStats() {
<IconSearch /> <IconSearch />
</div> </div>
</div> </div>
<div className="stat-value"> {/* <div className="stat-value">
<div <div
className="loading-placeholder start" className="loading-placeholder start"
> >
@@ -58,13 +58,26 @@ export default function DashboardUserStats() {
filesInfo?.total.check ? filesInfo?.total.check : 0 filesInfo?.total.check ? filesInfo?.total.check : 0
)} )}
</div> </div>
</div> */}
<div className="stat-value">
<div
className="loading-placeholder start"
>
{violationStatisticLoading ? (
<div className="loading-animation">
<div className="global-spinner" />
</div>
) : (
violationStatistic?.total_violations ?? 0
)}
</div>
</div> </div>
<div className="stat-label"> <div className="stat-label">
{t('matches-found')} {t('matches-found')}
</div> </div>
</div> </div>
<div className="stat-card violations"> <div className="stat-card violations hidden">
<div className="stat-header"> <div className="stat-header">
<div className="stat-icon"> <div className="stat-icon">
<IconWarning /> <IconWarning />