FlowFuse / FlowFuse/flowfuse

"Charges" section appears in Create Instance modal even when below included instance quota

Open
#5,880 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

The "Charges" section is displayed in the Create Instance modal even when the team has not exceeded the number of instances included in its current team tier.

### Expected Behavior

The "Charges" section should only appear if the team has already used up all instances included in its current tier and would be charged for creating an additional one.

### Steps To Reproduce

1. Ensure the team has not exceeded the included number of instances for its current tier
2. Open the Create Instance modal
3. Observe the presence of the "Charges" section and charges/instance when creating an instance

### Environment

- FlowFuse version: 2.20.0
- 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.