mirror of
https://github.com/grafana/grafana.git
synced 2026-08-26 13:27:30 -05:00
Alerting: Fix display of falsy alert values in state history (#89156)
This commit is contained in:
@@ -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