Skip to content

Commit dd4aa44

Browse files
committed
Remove overall StatusCard from Dashboard
1 parent 4a3ab11 commit dd4aa44

File tree

1 file changed

+0
-43
lines changed
  • Clients/src/presentation/pages/Home/1.0Home

1 file changed

+0
-43
lines changed

Clients/src/presentation/pages/Home/1.0Home/index.tsx

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -166,49 +166,6 @@ const VWHome = () => {
166166
{showToastNotification && (
167167
<VWToast title="Generating demo data. Please wait..." />
168168
)}
169-
<Stack className="vwhome-header" sx={{ mb: 15 }}>
170-
<Typography sx={vwhomeHeading}>
171-
All projects compliance status
172-
</Typography>
173-
<Stack className="vwhome-header-cards" sx={vwhomeHeaderCards}>
174-
{projectLoading ? (
175-
<VWSkeleton variant="rectangular" sx={headerCardPlaceholder} />
176-
) : (
177-
<SmallStatsCard
178-
attributeTitle="Compliance tracker"
179-
progress={`${
180-
complianceProgressData
181-
? complianceProgressData.allDonesubControls
182-
: 0
183-
}/${
184-
complianceProgressData
185-
? complianceProgressData.allsubControls
186-
: 1
187-
}`}
188-
rate={
189-
(complianceProgressData?.allDonesubControls ?? 0) /
190-
(complianceProgressData?.allsubControls ?? 1)
191-
}
192-
/>
193-
)}
194-
{projectLoading ? (
195-
<VWSkeleton variant="rectangular" sx={headerCardPlaceholder} />
196-
) : (
197-
<SmallStatsCard
198-
attributeTitle="Assessment tracker"
199-
progress={`${assessmentProgressData?.answeredQuestions ?? 0}/${
200-
assessmentProgressData?.totalQuestions ?? 1
201-
}`}
202-
rate={
203-
assessmentProgressData
204-
? (assessmentProgressData.answeredQuestions ?? 0) /
205-
(assessmentProgressData.totalQuestions ?? 1)
206-
: 0
207-
}
208-
/>
209-
)}
210-
</Stack>
211-
</Stack>
212169
<Stack className="vwhome-body">
213170
<Stack sx={vwhomeBody}>
214171
<Typography sx={vwhomeHeading}>Projects overview</Typography>

0 commit comments

Comments
 (0)