fix(web): disable unsupported folder picker

This commit is contained in:
Hakan Seven committed 2026-09-14 20:24:34 +03:00
1 parent 6c0badbdc8
commit c9350d7b7b
2 files changed
+11 -1

No files matched your search

+6
View File
@@ -1300,6 +1300,7 @@ impl OpenCADStudio {
Task::none()
}
#[cfg(not(target_arch = "wasm32"))]
pub(super) fn on_data_extraction_add_folder(&mut self) -> Task<Message> {
Task::perform(
async {
@@ -1313,6 +1314,11 @@ impl OpenCADStudio {
)
}
#[cfg(target_arch = "wasm32")]
pub(super) fn on_data_extraction_add_folder(&mut self) -> Task<Message> {
Task::none()
}
pub(super) fn on_data_extraction_add_folder_result(
&mut self,
path: Option<PathBuf>,