MemberJunction / MemberJunction/MJ
UI Bug: Navigation items duplicated after saving application configuration
- Dominant language
- TSQL
- Stars
- 29
- Forks
- 6
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 323
Description
## Description
After adding an application on the application configuration page and clicking save, the user is redirected to the Home page with all navigation items duplicated (appearing twice in the left sidebar).
## Steps to Reproduce
1. Navigate to the application configuration page
2. Add one application to the user's application list
3. Click save
4. Observe the Home page after redirect - all navigation items appear twice
## Expected Behavior
Navigation items should appear only once after saving and redirecting.
## Actual Behavior
All navigation items in the left sidebar are duplicated (Home, Chat, Data Explorer, Lists, TaskManagement, Actions, Scheduling, Testing, Credentials all appear twice).
## Workaround
Refreshing the page returns the UI to normal state.
## Screenshot

## Additional Context
- This appears to be a state management issue when redirecting after configuration save
- The navigation items are being added/appended instead of replaced
- A page refresh properly resets the state
## Severity
Medium - Visual bug that affects usability but has a simple workaround (refresh page)
## Potential Root Cause
Likely an issue with how the application list is being merged/updated in the navigation state after the save operation completes and the redirect occurs. The state may not be properly cleared before adding the updated application list.
Contributor guide
Assessment
This issue has not been assessed yet.