Skip to content

Commit

Permalink
Fix web build
Browse files Browse the repository at this point in the history
Signed-off-by: Michael X. Grey <[email protected]>
  • Loading branch information
mxgrey committed Jun 6, 2024
1 parent 00101ec commit 26cbac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmf_site_editor/src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ pub fn dispatch_load_workspace_events(
.detach();
}
LoadWorkspace::BlankFromDialog => {
let sender = load_channels.sender.clone();
#[cfg(not(target_arch = "wasm32"))]
{
let sender = load_channels.sender.clone();
AsyncComputeTaskPool::get()
.spawn(async move {
if let Some(file) = AsyncFileDialog::new().save_file().await {
Expand Down

0 comments on commit 26cbac9

Please sign in to comment.