Alerting: Fix display of falsy alert values in state history (#89156)

This commit is contained in:
Tom Ratcliffe
2024-06-14 13:41:01 +02:00
committed by GitHub
parent 1691d80412
commit a9171aa9fe
@@ -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>
);