mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
small fix
This commit is contained in:
@@ -250,8 +250,7 @@ impl ApprovalOverlay {
|
||||
|
||||
fn patch_selected_index(&self) -> Option<usize> {
|
||||
self.patch_state()
|
||||
.map(|_| self.list.scroll_state().selected_idx)
|
||||
.flatten()
|
||||
.and_then(|_| self.list.scroll_state().selected_idx)
|
||||
}
|
||||
|
||||
fn patch_note_text(&self) -> String {
|
||||
|
||||
Reference in New Issue
Block a user