-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
component: payoutsIssues related to PayoutsIssues related to Payoutscomponent: transactionsIssues related to TransactionsIssues related to Transactionssize: smallThe issue is sized small.The issue is sized small.type: bugThe issue is a confirmed bug.The issue is a confirmed bug.
Description
The following behavior is applicable for both Transactions and Deposits tables.
Presently we render the number of transactions and deposits in the summary section of the respective tables. While the data is being fetched from the server the count is rendered as undefined
.
The same issue can be replicated if the WCPay server is not running and still being proxied by WCPay dev plugin, i.e When API call is failing which results in depositsSummary
being an empty object.
Steps to reproduce:
- goto
develop
branch. - try loading deposits or transactions page, and watch the table summary (bottom of the table).
- you should see
undefined
transaction while the table data is being loaded.
Potential solutions:
- We can hide the summary from being rendered all together, until we have the final data to display.
- We can keep the default count as Zero always.
Metadata
Metadata
Assignees
Labels
component: payoutsIssues related to PayoutsIssues related to Payoutscomponent: transactionsIssues related to TransactionsIssues related to Transactionssize: smallThe issue is sized small.The issue is sized small.type: bugThe issue is a confirmed bug.The issue is a confirmed bug.