FlowFuse / FlowFuse/flowfuse

Changing teams when on Brokers page not going to overview

Open
#6,068 0 comments 0 reactions 0 assignees View on GitHub
needs-triage type:bug
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 20h
Merged PRs (30d)
149

Description

### Current Behavior

When you are on the Team Broker page of one team, then use the team switcher to go to another team, you are taken to the Add Broker page of the second team (even if they have brokers defined).

The expectation when switching teams is to always be taken to the Overview page.

My guess is some of the unmount handling of the broker page is kicking in redirect logic and interfering with the top level redirect.

### Expected Behavior

_No response_

### Steps To Reproduce

1. Open the Brokers page of Team A
2. Switch to Team B - expect to be taken to the Team Overview page
3. Find yourself on the Add Broker page of Team B

### Environment

- FlowFuse version:
- Node.js version:
- npm version:
- Platform/OS:
- Browser:

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.