forked from quarck/CalendarNotification
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Inconsistent danger zone visibility during initializing state
The button disabled logic was changed from isConnected === false to !isConnected (lines 209, 217), meaning buttons are now disabled when isConnected is null (initializing state). However, the danger zone visibility condition at line 222 still uses isConnected !== false, which evaluates to true when isConnected is null. This creates an inconsistency: if a user has the danger zone open and the connection enters the initializing state, the danger zone actions remain visible and clickable even though the buttons that control access to it are disabled. The visibility condition should be updated to match the new button logic, such as using !!isConnected instead of isConnected !== false.
Additional Locations (2)
Originally posted by @cursor[bot] in #117 (comment)
Metadata
Metadata
Assignees
Labels
No labels