mirror of
https://github.com/openai/codex.git
synced 2026-05-05 22:01:37 +03:00
Revert "Option to Notify Workspace Owner When Usage Limit is Reached" (#17391)
Reverts openai/codex#16969 #sev3-2026-04-10-accountscheckversion-500s-for-openai-workspace-7300
This commit is contained in:
@@ -648,23 +648,7 @@ impl BottomPaneView for ListSelectionView {
|
||||
&& !modifiers.contains(KeyModifiers::CONTROL)
|
||||
&& !modifiers.contains(KeyModifiers::ALT) =>
|
||||
{
|
||||
if let Some((visible_idx, _)) = self
|
||||
.filtered_indices
|
||||
.iter()
|
||||
.enumerate()
|
||||
.find(|(_, actual_idx)| {
|
||||
self.items.get(**actual_idx).is_some_and(|item| {
|
||||
item.display_shortcut
|
||||
.as_ref()
|
||||
.is_some_and(|shortcut| shortcut.is_press(key_event))
|
||||
&& item.disabled_reason.is_none()
|
||||
&& !item.is_disabled
|
||||
})
|
||||
})
|
||||
{
|
||||
self.state.selected_idx = Some(visible_idx);
|
||||
self.accept();
|
||||
} else if let Some(idx) = c
|
||||
if let Some(idx) = c
|
||||
.to_digit(10)
|
||||
.map(|d| d as usize)
|
||||
.and_then(|d| d.checked_sub(1))
|
||||
|
||||
Reference in New Issue
Block a user