Skip to content

Commit bb0cafe

Browse files
committed
Set YASGUI endpoint as per docs
1 parent f794d00 commit bb0cafe

File tree

1 file changed

+8
-7
lines changed
  • jena-fuseki2/jena-fuseki-ui/src/views/dataset

1 file changed

+8
-7
lines changed

jena-fuseki2/jena-fuseki-ui/src/views/dataset/Query.vue

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -188,21 +188,18 @@ export default {
188188
const curriedCreateShareableLink = yasqe => {
189189
return createShareableLink(yasqe.getValue(), this.$route.path)
190190
}
191-
console.log(this.currentDatasetUrl)
192191
yasgui = new Yasgui(yasguiElement, {
193-
yasr: {
194-
persistenceId: null,
195-
},
196192
requestConfig: {
197193
endpoint: this.$fusekiService.getFusekiUrl(this.currentDatasetUrl)
198194
},
195+
copyEndpointOnNewTab: false,
196+
yasr: {
197+
persistenceId: null,
198+
},
199199
// NOTE: the full screen functionality was removed from YASQE: https://github.com/Triply-Dev/YASGUI.YASQE-deprecated/issues/139#issuecomment-573656137
200200
yasqe: {
201201
showQueryButton: true,
202202
resizeable: true,
203-
requestConfig: {
204-
endpoint: this.$fusekiService.getFusekiUrl(this.currentDatasetUrl)
205-
},
206203
createShareableLink: curriedCreateShareableLink
207204
}
208205
})
@@ -325,4 +322,8 @@ export default {
325322
// }
326323
//}
327324
@import '@zazuko/yasgui/build/yasgui.min.css';
325+
326+
.yasgui .autocompleteWrapper {
327+
display: none !important;
328+
}
328329
</style>

0 commit comments

Comments
 (0)