Skip to content

Commit

Permalink
Chaging from a DS to a List view also deletes the path parameters now.
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarJAH committed Mar 23, 2021
1 parent a0662d7 commit 7b63c2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/ds-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -17478,7 +17478,8 @@ class DSRenderer {
}

var listHtml = this.browser.list ? ' | from List: ' + this.util.createInternalLink({
dsId: null
dsId: null,
path: null
}, this.browser.list['schema:name']) : '';
return "<span style=\"float: right;\">(".concat(shaclLink).concat(listHtml, ")</span>");
}
Expand Down
2 changes: 1 addition & 1 deletion dist/ds-browser.min.js

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

2 changes: 1 addition & 1 deletion src/DSRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class DSRenderer {
} else {
shaclLink = `<a href="https://semantify.it/ds/${dsId}?format=shacl" target="_blank">SHACL serialization</a>`;
}
const listHtml = this.browser.list ? ' | from List: ' + this.util.createInternalLink({dsId: null}, this.browser.list['schema:name']) : '';
const listHtml = this.browser.list ? ' | from List: ' + this.util.createInternalLink({dsId: null, path: null}, this.browser.list['schema:name']) : '';
return `<span style="float: right;">(${shaclLink}${listHtml})</span>`;
}

Expand Down

0 comments on commit 7b63c2c

Please sign in to comment.