forked from BLC/AyposWeb
implimented the new Vm-placement data strcuture, fixed 8/9 designs issue from last meeting written in the group blc - in 7/8/2025
This commit is contained in:
@@ -70,7 +70,7 @@ const VerifiedMigration: React.FC<VerifiedMigrationProps> = ({
|
||||
Current Power
|
||||
</Typography>
|
||||
<Typography variant="h4" sx={{ fontWeight: 'bold', mb: 0.5 }}>
|
||||
{gainAfterData.cur_power.toFixed(2)} W
|
||||
{gainAfterData.cur_power.toFixed(2)}W
|
||||
</Typography>
|
||||
</Box>
|
||||
</Grid>
|
||||
@@ -91,7 +91,7 @@ const VerifiedMigration: React.FC<VerifiedMigrationProps> = ({
|
||||
<Typography variant="h4" sx={{
|
||||
fontWeight: 'bold',
|
||||
mb: 0.5,
|
||||
color: isValidated ? '#4caf50' : '#ff9800'
|
||||
color: isValidated ? '#28c76f' : '#ffb400'
|
||||
}}>
|
||||
{(gainAfterData.val_ratio * 100).toFixed(2)}%
|
||||
</Typography>
|
||||
@@ -114,7 +114,7 @@ const VerifiedMigration: React.FC<VerifiedMigrationProps> = ({
|
||||
<Typography variant="h4" sx={{
|
||||
fontWeight: 'bold',
|
||||
mb: 0.5,
|
||||
color: gainAfterData.actual_ratio > 0 ? '#4caf50' : '#ff9800'
|
||||
color: gainAfterData.actual_ratio > 0 ? '#28c76f' : '#FF1744'
|
||||
}}>
|
||||
{(gainAfterData.actual_ratio * 100).toFixed(2)}%
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user