Some fixes around environments

This commit is contained in:
Gregory Schier committed 2024-12-21 11:04:49 -08:00
1 parent c1d5881167
commit 61d094d9fd
20 files changed
+95 -46

No files matched your search

+2
View File
@@ -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()