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
data={[
{
id: 'storage',
label: 'Used',
id: title,
label: title,
value: synced,
color: color,
},
{
id: 'storage',
label: 'Free',
id: 'free',
label: 'free',
value: total - synced || 1,
color: '#E7EAEE',
},