Skip to content

Commit

Permalink
Merge pull request #205 from Ontotext-AD/gdb-4410
Browse files Browse the repository at this point in the history
GDB-4410: Similarity: View SPARQL query button not functioning
  • Loading branch information
desislava-hristova-ontotext authored Apr 2, 2020
2 parents 11162cf + 846ae17 commit 859ab8e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
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,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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 + '>';
Expand Down
2 changes: 1 addition & 1 deletion test-cypress/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 test-cypress/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 859ab8e

Please sign in to comment.