fix: share connection data

This commit is contained in:
Gabriel Pastori 2023-12-04 11:09:13 -03:00
parent fb6636ed87
commit ab3e995bc8

View File

@ -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 };
},
},
};