Skip to content

Commit

Permalink
Merge pull request #164 from bcgsc/hotfix/DEVSU-1734-kbmatches-not-lo…
Browse files Browse the repository at this point in the history
…aded

Hotfix/v6.8.1
  • Loading branch information
kttkjl committed Feb 16, 2022
2 parents 2f234b7 + 7873830 commit c8f2050
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const CivicCellRenderer = ({
if (data) {
if (Array.isArray(externalSource)) {
const numOnly = /^\d+$/;
if (externalSource.map((es) => es.toLowerCase()).includes('civic')) {
if (externalSource.map((es) => es?.toLowerCase()).includes('civic')) {
// TODO: Assume all numeric for now that it is civic ids, more types of external sources to come
setLinks(externalStatementId.filter((id) => numOnly.test(id)));
setText(externalSource.filter((src) => src?.toLowerCase() !== 'civic').join(', '));
Expand Down Expand Up @@ -65,7 +65,7 @@ const CivicCellRenderer = ({
if (links.length > 1) {
return (
<>
<span>{text ? `${text},` : '' }</span>
<span>{text ? `${text},` : ''}</span>
<button
type="button"
style={{
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "ipr-client",
"version": "6.8.0",
"version": "6.8.1",
"keywords": [],
"license": "GPL-3.0",
"sideEffects": false,
Expand Down

0 comments on commit c8f2050

Please sign in to comment.