mirror of
https://github.com/prometheus/prometheus
synced 2025-04-01 22:59:03 +00:00
Fixup: re-add erroneously removed lines
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
c861b31b72
commit
76ca7d08d9
@ -89,6 +89,10 @@ const SeriesName: FC<SeriesNameProps> = ({ labels, format }) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (labels === null) {
|
||||||
|
return <>scalar</>;
|
||||||
|
}
|
||||||
|
|
||||||
if (format) {
|
if (format) {
|
||||||
return renderFormatted();
|
return renderFormatted();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user