aboutsummaryrefslogtreecommitdiff
path: root/src/components/TileInfoModal.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/TileInfoModal.vue')
-rw-r--r--src/components/TileInfoModal.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index a70215d..556846a 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 = new URLSearchParams({node: this.nodeName});
+ url.search = (new URLSearchParams({node: this.nodeName})).toString();
navigator.clipboard.writeText(url.toString());
// Show visual indicator
this.linkCopied = true;