mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-19 06:58:24 +01:00
Finally fix the editor!
This commit is contained in:
1 parent
94a3ae3696
commit
d36623ebc9
4 files changed
+70
-80
No files matched your search
@@ -215,7 +215,9 @@ async fn actually_send_ephemeral_request(
|
||||
response = models::update_response_if_id(response, pool)
|
||||
.await
|
||||
.expect("Failed to update response");
|
||||
emit_side_effect(app_handle, "updated_model", &response);
|
||||
if request.id != "" {
|
||||
emit_side_effect(app_handle, "updated_model", &response);
|
||||
}
|
||||
Ok(response)
|
||||
}
|
||||
Err(e) => response_err(response, e.to_string(), app_handle, pool).await,
|
||||
|
||||
Reference in new issue
Block a user