mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-07-13 15:14:49 -06:00
fix: share connection data
This commit is contained in:
parent
fb6636ed87
commit
ab3e995bc8
@ -61,15 +61,15 @@ export default {
|
|||||||
url.searchParams.set("connection", base64);
|
url.searchParams.set("connection", base64);
|
||||||
|
|
||||||
copyToClipboard(url.href);
|
copyToClipboard(url.href);
|
||||||
|
|
||||||
this.copied = true;
|
this.copied = true;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.copied = false;
|
this.copied = false;
|
||||||
}, 2000);
|
}, 2000);
|
||||||
},
|
},
|
||||||
open(connection) {
|
open({ host, globalApiKey }) {
|
||||||
this.dialog = true;
|
this.dialog = true;
|
||||||
this.connection = connection;
|
this.connection = { host, globalApiKey };
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user