mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-14 06:05:58 +08:00
fix: labelsArray being returned null despite of labels being present (#5357)
This commit is contained in:
parent
a453471b51
commit
da3f6fd7fd
@ -583,11 +583,11 @@ export const createTableColumnsFromQuery: CreateTableDataFromQuery = ({
|
||||
q.series?.sort((a, b) => {
|
||||
let labelA = '';
|
||||
let labelB = '';
|
||||
a.labelsArray.forEach((lab) => {
|
||||
a.labelsArray?.forEach((lab) => {
|
||||
labelA += Object.values(lab)[0];
|
||||
});
|
||||
|
||||
b.labelsArray.forEach((lab) => {
|
||||
b.labelsArray?.forEach((lab) => {
|
||||
labelB += Object.values(lab)[0];
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user