FlowFuse / FlowFuse/flowfuse

Instance counter not refreshing on the change team type page

Open
#5,256 0 comments 0 reactions 0 assignees View on GitHub
area:frontend needs-triage size:XS type:bug
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 21h
Merged PRs (30d)
146

Description

### Current Behavior

When downgrading from a higher tier to a lower tier that allows fewer instances, users are required to delete some instances. After deletion the number of actual instances is not reflected when accessing the change team type page and the button is still disabled.

Users are forced to refresh the page.

The devices counter works fine.

https://github.com/user-attachments/assets/0b3207b9-2669-4784-b809-7652a6644b0e

### Expected Behavior

the instance counter should refresh automatically

### Steps To Reproduce

try and downgrade to a team type that allows fewer instances

### Environment

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

### 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.