aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/SearchModal.vue3
-rw-r--r--src/components/TileInfoModal.vue2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue
index 990312a..9dc8f9b 100644
--- a/src/components/SearchModal.vue
+++ b/src/components/SearchModal.vue
@@ -206,7 +206,8 @@ export default defineComponent({
let urlParams = new URLSearchParams({
type: 'node',
name: tolNodeName,
- toroot: this.activeRoot.name,
+ toroot: '1',
+ excl: this.activeRoot.name,
tree: this.uiOpts.tree,
});
this.$emit('net-wait'); // Allows the parent component to show a loading-indicator
diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index e5ea77b..a70215d 100644
--- a/src/components/TileInfoModal.vue
+++ b/src/components/TileInfoModal.vue
@@ -240,7 +240,7 @@ export default defineComponent({
onLinkIconClick(evt: Event){
// Copy link to clipboard
let url = new URL(window.location.href);
- url.search = 'node=' + encodeURIComponent(this.nodeName);
+ url.search = new URLSearchParams({node: this.nodeName});
navigator.clipboard.writeText(url.toString());
// Show visual indicator
this.linkCopied = true;