Alerting: Fix display of falsy alert values in state history (#89156)
This commit is contained in:
1 parent
1691d80412
commit
a9171aa9fe
1 file changed
+3
-5
@@ -33,11 +33,9 @@ const Label = ({ label, value, icon, color, size = 'md' }: Props) => {
|
||||
)}
|
||||
</Stack>
|
||||
</div>
|
||||
{value && (
|
||||
<div className={styles.value} title={value.toString()}>
|
||||
{value}
|
||||
</div>
|
||||
)}
|
||||
<div className={styles.value} title={value?.toString()}>
|
||||
{value ?? '-'}
|
||||
</div>
|
||||
</Stack>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user