feat: add auto-create worktree setting and related UI components
This commit is contained in:
@@ -257,6 +257,9 @@ fn sanitize_settings_update(payload: &Value) -> Value {
|
||||
if let Some(Value::Bool(b)) = obj.get("queueModeEnabled") {
|
||||
result_obj.insert("queueModeEnabled".to_string(), json!(b));
|
||||
}
|
||||
if let Some(Value::Bool(b)) = obj.get("autoCreateWorktree") {
|
||||
result_obj.insert("autoCreateWorktree".to_string(), json!(b));
|
||||
}
|
||||
|
||||
// Number fields
|
||||
if let Some(Value::Number(n)) = obj.get("autoDeleteAfterDays") {
|
||||
|
||||
Reference in New Issue
Block a user