From ab3e995bc8429a0e60da52b990799c82057cbc3a Mon Sep 17 00:00:00 2001 From: Gabriel Pastori <58153955+gabrielpastori1@users.noreply.github.com> Date: Mon, 4 Dec 2023 11:09:13 -0300 Subject: [PATCH] fix: share connection data --- src/components/modal/ShareConnection.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/modal/ShareConnection.vue b/src/components/modal/ShareConnection.vue index 2ee481e..75c170f 100644 --- a/src/components/modal/ShareConnection.vue +++ b/src/components/modal/ShareConnection.vue @@ -61,15 +61,15 @@ export default { url.searchParams.set("connection", base64); copyToClipboard(url.href); - + this.copied = true; setTimeout(() => { this.copied = false; }, 2000); }, - open(connection) { + open({ host, globalApiKey }) { this.dialog = true; - this.connection = connection; + this.connection = { host, globalApiKey }; }, }, };