Skip to content

Commit c8f2050

Browse files
authored
Merge pull request #164 from bcgsc/hotfix/DEVSU-1734-kbmatches-not-loaded
Hotfix/v6.8.1
2 parents 2f234b7 + 7873830 commit c8f2050

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/components/DataTable/components/CivicCellRenderer/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CivicCellRenderer = ({
2727
if (data) {
2828
if (Array.isArray(externalSource)) {
2929
const numOnly = /^\d+$/;
30-
if (externalSource.map((es) => es.toLowerCase()).includes('civic')) {
30+
if (externalSource.map((es) => es?.toLowerCase()).includes('civic')) {
3131
// TODO: Assume all numeric for now that it is civic ids, more types of external sources to come
3232
setLinks(externalStatementId.filter((id) => numOnly.test(id)));
3333
setText(externalSource.filter((src) => src?.toLowerCase() !== 'civic').join(', '));
@@ -65,7 +65,7 @@ const CivicCellRenderer = ({
6565
if (links.length > 1) {
6666
return (
6767
<>
68-
<span>{text ? `${text},` : '' }</span>
68+
<span>{text ? `${text},` : ''}</span>
6969
<button
7070
type="button"
7171
style={{

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "ipr-client",
4-
"version": "6.8.0",
4+
"version": "6.8.1",
55
"keywords": [],
66
"license": "GPL-3.0",
77
"sideEffects": false,

0 commit comments

Comments
 (0)