Open dmallory42 opened 1 year ago
This issue impacts Transactions
, so assigning to Pulsar (@kalessil as team lead) (based on team responsibilities Pc2DNy-3z-p2). Assigning as part of Gamma Triage process PcreKM-yM-p2.
Passing the ball to @Automattic/helix here: it's loans related and @brucealdridge already added it to Helixs'board.
Describe the bug
The advanced filters menu on the
Transactions
page hasLoan
as an option - which is related to the Stripe Loans feature. However, if the merchant has no loans, this filter will display with no options to select (normally, you'd expect a select box/dropdown) - and adding this filter has unusual behaviour, theFilter
button cannot be clicked until another filter is added, and clicking theFilter
button removes theLoan
filter.I think we should completely hide the
Loan
advanced filter if the user has no loans, to avoid confusion.To Reproduce
Payments > Transactions
Advanced Filters
Add a Filter
Date
and set a date range.Loan
filter.Loan
filter.Filter
button.Loan
will disappear from the filters.Expected behavior
I would expect
Loan
should only show as an option if there are loans to choose from on the store. Otherwise, it may cause confusion for users.