Skip to content

Commit

Permalink
Set YASGUI endpoint as per docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Mar 14, 2024
1 parent f794d00 commit bb0cafe
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions jena-fuseki2/jena-fuseki-ui/src/views/dataset/Query.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,21 +188,18 @@ export default {
const curriedCreateShareableLink = yasqe => {
return createShareableLink(yasqe.getValue(), this.$route.path)
}
console.log(this.currentDatasetUrl)
yasgui = new Yasgui(yasguiElement, {
yasr: {
persistenceId: null,
},
requestConfig: {
endpoint: this.$fusekiService.getFusekiUrl(this.currentDatasetUrl)
},
copyEndpointOnNewTab: false,
yasr: {
persistenceId: null,
},
// NOTE: the full screen functionality was removed from YASQE: https://github.com/Triply-Dev/YASGUI.YASQE-deprecated/issues/139#issuecomment-573656137
yasqe: {
showQueryButton: true,
resizeable: true,
requestConfig: {
endpoint: this.$fusekiService.getFusekiUrl(this.currentDatasetUrl)
},
createShareableLink: curriedCreateShareableLink
}
})
Expand Down Expand Up @@ -325,4 +322,8 @@ export default {
// }
//}
@import '@zazuko/yasgui/build/yasgui.min.css';

.yasgui .autocompleteWrapper {
display: none !important;
}
</style>

0 comments on commit bb0cafe

Please sign in to comment.