Fixup: re-add erroneously removed lines

Signed-off-by: Julius Volz <julius.volz@gmail.com>
pull/15244/head
Julius Volz 2024-10-30 16:43:10 +01:00
parent c861b31b72
commit 76ca7d08d9
1 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,10 @@ const SeriesName: FC<SeriesNameProps> = ({ labels, format }) => {
);
};
if (labels === null) {
return <>scalar</>;
}
if (format) {
return renderFormatted();
}