diff --git a/package-lock.json b/package-lock.json index 1a8b9ccaf..d4c08b3bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "graphdb-workbench", - "version": "1.3.0-RC8", + "version": "1.3.0-RC9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 571509188..5a1e1e41b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "graphdb-workbench", - "version": "1.3.0-RC8", + "version": "1.3.0-RC9", "description": "The web application for GraphDB APIs", "scripts": { "build": "webpack --config=webpack.config.prod.js", diff --git a/src/js/angular/similarity/controllers/similarity-list.controller.js b/src/js/angular/similarity/controllers/similarity-list.controller.js index 204129493..5641e380d 100644 --- a/src/js/angular/similarity/controllers/similarity-list.controller.js +++ b/src/js/angular/similarity/controllers/similarity-list.controller.js @@ -17,9 +17,10 @@ function SimilarityCtrl($scope, $interval, toastr, $repositories, ModalService, return '"' + literal + '"'; }; + // TODO: Fix cases when this function is called with undefined const iriForQuery = function (iri) { // Do not put brackets on nested triples - if (iri.startsWith("<<") && iri.endsWith(">>")) { + if (iri === undefined || iri.startsWith("<<") && iri.endsWith(">>")) { return iri; } return '<' + iri + '>'; diff --git a/test-cypress/package-lock.json b/test-cypress/package-lock.json index 8fb3a441b..509c5bb17 100644 --- a/test-cypress/package-lock.json +++ b/test-cypress/package-lock.json @@ -1,6 +1,6 @@ { "name": "graphdb-workbench-tests", - "version": "1.3.0-RC8", + "version": "1.3.0-RC9", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/test-cypress/package.json b/test-cypress/package.json index e52682d8b..384547d48 100644 --- a/test-cypress/package.json +++ b/test-cypress/package.json @@ -1,6 +1,6 @@ { "name": "graphdb-workbench-tests", - "version": "1.3.0-RC8", + "version": "1.3.0-RC9", "description": "Cypress tests for GraphDB workbench", "scripts": { "start": "cypress open",