fix mode undefined

This commit is contained in:
Caleb Owens 2024-08-15 19:33:25 +02:00
parent 84df8857cc
commit 148ac88434

View File

@ -36,7 +36,7 @@ pub(super) mod state {
operating_mode, operating_mode,
} => ChangeForFrontend { } => ChangeForFrontend {
name: format!("project://{}/git/head", project_id), name: format!("project://{}/git/head", project_id),
payload: serde_json::json!({ "head": head, "operating_mode": operating_mode }), payload: serde_json::json!({ "head": head, "operatingMode": operating_mode }),
project_id, project_id,
}, },
Change::GitActivity(project_id) => ChangeForFrontend { Change::GitActivity(project_id) => ChangeForFrontend {