hashgraph / hashgraph/hedera-hcs-sxc-java

UI: prevent settlement modal when there is nothing to settle (Total 0)

Open
#333 1 comment 0 reactions 0 assignees View on GitHub
enhancement P3
Dominant language
Java
Stars
20
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**Detailed Description**
When settlement amount adds up to 0 then modal says that you cannot settle because you're a net receiver

**Actual Behavior**
When totals from such a generation amount to 0
![image](https://user-images.githubusercontent.com/35506609/72884172-960c4380-3cfd-11ea-995b-ba3f3c906ab9.png)
Then show an alert informing the user that there is nothing to settle with the current selection

Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'

**Expected Behavior**
A clear and concise description of what you expected to happen.

**Environment:**
- Java: [e.g. OpenJDK 11.0.4]
- Node: [e.g. v12.9.1-x86]
- OS: [e.g. Ubuntu 18.04]
- Version: [e.g. 1.0.1]

**Additional Context**
Add any other context about the problem here. Attach any logs here, if applicable.

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.