Skip to content

Conversation

@aabhinavvvvvvv
Copy link
Contributor

Description

Fixes #307 - Clear project selection after removing a project

Problem

When a user removes a project that is currently selected, the project is successfully removed from the list, but the UI continues to display the removed project as selected. This creates a confusing state where the project details panel shows information for a project that no longer exists in the project list.

Solution

Added a new handler handleRemoveProjectListEntryResponse that:

  1. Checks if the removed project is currently selected
  2. If yes, clears all related state (selectedProject, selectedProjectLogs, selectedProjectChecklist, assetDynamicDetails)
  3. Refreshes the project list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Clear project selection after removing a project

1 participant