undo diff

This commit is contained in:
kevin zhao
2025-11-21 15:59:00 -05:00
parent d67b1f7d32
commit dc901ff21a

View File

@@ -192,8 +192,7 @@ impl ApprovalOverlay {
}
fn handle_exec_decision(&self, id: &str, command: &[String], decision: ReviewDecision) {
let decision_for_history = decision.clone();
let cell = history_cell::new_approval_decision_cell(command.to_vec(), decision_for_history);
let cell = history_cell::new_approval_decision_cell(command.to_vec(), decision.clone());
self.app_event_tx.send(AppEvent::InsertHistoryCell(cell));
self.app_event_tx.send(AppEvent::CodexOp(Op::ExecApproval {
id: id.to_string(),