fix: add valid data to gauges

This commit is contained in:
RadoslavDimchev 2023-08-25 15:09:30 +03:00
parent da0880fc84
commit 6e7e70434d
1 changed files with 4 additions and 4 deletions

View File

@ -26,14 +26,14 @@ const KeyGenerationSyncCard = ({ synced, total, title, color }: KeyGenerationSyn
<StandardGauge <StandardGauge
data={[ data={[
{ {
id: 'storage', id: title,
label: 'Used', label: title,
value: synced, value: synced,
color: color, color: color,
}, },
{ {
id: 'storage', id: 'free',
label: 'Free', label: 'free',
value: total - synced || 1, value: total - synced || 1,
color: '#E7EAEE', color: '#E7EAEE',
}, },