"Reject All" Button in Cursor Doesn't Work in Some Cases

Describe the Bug

I am experiencing an intermittent issue in Cursor IDE with the “Reject All” button. Sometimes, when trying to reject all modifications suggested by the AI, the button doesn’t respond. However, it works correctly at other times.

Steps to Reproduce

Open a file with active suggestions generated by the AI.
Click the “Reject All” button to reject all modifications.
Observe that in some cases, the button does not respond or perform any action.

Expected Behavior

When clicking the “Reject All” button, all suggested modifications should be dismissed immediately without needing to reject them one by one.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045

Additional Information

Uncaught TypeError: Cannot read properties of undefined (reading ‘filter’)
at Qe.rejectAllDiffs (workbench.desktop.main.js:4077:38106)
at Qe.rejectAll (workbench.desktop.main.js:4077:38839)
at Object.onClick (workbench.desktop.main.js:4273:58394)
at HTMLDivElement. (workbench.desktop.main.js:4239:61625)

Does this stop you from using Cursor

No - Cursor works, but with this issue