diff --git a/nr-common/utils.ts b/nr-common/utils.ts index 287e29b..0f1e12e 100644 --- a/nr-common/utils.ts +++ b/nr-common/utils.ts @@ -64,7 +64,11 @@ export function createLabelTags( ) { const tags = [ ["L", labelName], - ["l", ...labelValue, labelName], + [ + "l", + ...(Array.isArray(labelValue) ? labelValue : [labelValue]), + labelName, + ], ]; return tags; }