diff --git a/Cargo.lock b/Cargo.lock index 392b649bd..e5cf401f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3376,6 +3376,7 @@ dependencies = [ "tracing-web", "url", "uuid", + "wasm-bindgen-futures", "wasm-bindgen-test", ] diff --git a/Cargo.toml b/Cargo.toml index 18a9c30c4..f3a617d35 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -150,6 +150,8 @@ tracing-web = { version = "0.1.3" } url = "2.5.0" uuid = "1.8.0" walkdir = "2.4.0" +wasm-bindgen-futures = "0.4.43" +wasm-bindgen-test = "0.3.37" which = "6.0.0" zip = "2.1.3" diff --git a/opendut-lea/Cargo.toml b/opendut-lea/Cargo.toml index e21d56a2f..134eed528 100644 --- a/opendut-lea/Cargo.toml +++ b/opendut-lea/Cargo.toml @@ -32,12 +32,13 @@ tracing-subscriber = { workspace = true, features = ["ansi"] } tracing-web = { workspace = true } url = { workspace = true } uuid = { workspace = true } +wasm-bindgen-futures = { workspace = true } [build-dependencies] shadow-rs = { workspace = true } [dev-dependencies] -wasm-bindgen-test = "0.3.37" +wasm-bindgen-test = { workspace = true } [lints] workspace = true diff --git a/opendut-lea/src/downloads/cleo_card.rs b/opendut-lea/src/downloads/cleo_card.rs index 646ac22f4..b99b28bcf 100644 --- a/opendut-lea/src/downloads/cleo_card.rs +++ b/opendut-lea/src/downloads/cleo_card.rs @@ -3,6 +3,7 @@ use crate::app::{use_app_globals, ExpectGlobals}; use opendut_auth::public::OptionalAuthData; use opendut_types::proto::util::VersionInfo; use crate::components::{ButtonColor, ButtonStateSignalProvider, SimpleButton}; +use crate::util::clipboard::copy_with_feedback; #[component] pub fn CleoCard( @@ -94,10 +95,7 @@ pub fn CleoCard(