mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-19 15:08:23 +01:00
Some fixes around environments
This commit is contained in:
1 parent
c1d5881167
commit
61d094d9fd
20 files changed
+95
-46
No files matched your search
@@ -1220,6 +1220,7 @@ async fn cmd_create_cookie_jar(
|
||||
#[tauri::command]
|
||||
async fn cmd_create_environment(
|
||||
workspace_id: &str,
|
||||
environment_id: Option<&str>,
|
||||
name: &str,
|
||||
variables: Vec<EnvironmentVariable>,
|
||||
w: WebviewWindow,
|
||||
@@ -1228,6 +1229,7 @@ async fn cmd_create_environment(
|
||||
&w,
|
||||
Environment {
|
||||
workspace_id: workspace_id.to_string(),
|
||||
environment_id: environment_id.map(|s| s.to_string()),
|
||||
name: name.to_string(),
|
||||
variables,
|
||||
..Default::default()
|
||||
|
||||
Reference in new issue
Block a user