forked from 1b-agent/opencadstudio-upstream
fix(web): disable unsupported folder picker
This commit is contained in:
1 parent
6c0badbdc8
commit
c9350d7b7b
2 files changed
+11
-1
No files matched your search
@@ -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>,
|
||||
|
||||
Reference in new issue
Block a user