mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
undo diff
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user