Merge pull request #8476 from jlmitch5/fixSearchLabelBug

fix issue where adding a search tag could cause an error

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-10-28 21:05:53 +00:00
committed by GitHub

View File

@@ -107,7 +107,7 @@ function Search({
} else if (currentSearchColumn?.booleanLabels) { } else if (currentSearchColumn?.booleanLabels) {
label = currentSearchColumn.booleanLabels[value]; label = currentSearchColumn.booleanLabels[value];
} }
return label.toString(); return (label || colKey).toString();
}; };
const getChipsByKey = () => { const getChipsByKey = () => {