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
commit 82a42d1db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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