Skip to content
Snippets Groups Projects
Commit 26a39c39 authored by Darla Maestas's avatar Darla Maestas
Browse files

fixed email breach widget

parent c812a743
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ const WidgetsDropdown = () => { ...@@ -58,7 +58,7 @@ const WidgetsDropdown = () => {
<CRow> <CRow>
<CCol sm={6} lg={3}> <CCol sm={6} lg={3}>
<CWidgetStatsA <CWidgetStatsA
className="mb-4" className="my-4 pb-4"
color="primary" color="primary"
value={<>{countUniqueEmails(breachResults)}</>} value={<>{countUniqueEmails(breachResults)}</>}
title="Emails Breached" title="Emails Breached"
...@@ -73,65 +73,6 @@ const WidgetsDropdown = () => { ...@@ -73,65 +73,6 @@ const WidgetsDropdown = () => {
</CDropdownMenu> </CDropdownMenu>
</CDropdown> </CDropdown>
} }
chart={
<CChartLine
className="mt-3 mx-3"
style={{ height: '70px' }}
data={{
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [
{
label: 'My First dataset',
backgroundColor: 'transparent',
borderColor: 'rgba(255,255,255,.55)',
pointBackgroundColor: getStyle('--cui-primary'),
data: [65, 59, 84, 84, 51, 55, 40],
},
],
}}
options={{
plugins: {
legend: {
display: false,
},
},
maintainAspectRatio: false,
scales: {
x: {
grid: {
display: false,
drawBorder: false,
},
ticks: {
display: false,
},
},
y: {
min: 30,
max: 89,
display: false,
grid: {
display: false,
},
ticks: {
display: false,
},
},
},
elements: {
line: {
borderWidth: 1,
tension: 0.4,
},
point: {
radius: 4,
hitRadius: 10,
hoverRadius: 4,
},
},
}}
/>
}
/> />
</CCol> </CCol>
<CCol sm={6} lg={3}> <CCol sm={6} lg={3}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment