mirror of https://github.com/prometheus/prometheus
Fixup: re-add erroneously removed lines
Signed-off-by: Julius Volz <julius.volz@gmail.com>pull/15244/head
parent
c861b31b72
commit
76ca7d08d9
|
@ -89,6 +89,10 @@ const SeriesName: FC<SeriesNameProps> = ({ labels, format }) => {
|
|||
);
|
||||
};
|
||||
|
||||
if (labels === null) {
|
||||
return <>scalar</>;
|
||||
}
|
||||
|
||||
if (format) {
|
||||
return renderFormatted();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue