fix issue where adding a search tag could cause an error

This commit is contained in:
John Mitchell 2020-10-28 11:36:05 -04:00
parent 95a4cc7b76
commit 3a512f39ae

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 = () => {