Clear transactions when navigating to /transactions.
This commit is contained in:
parent
4370d8221f
commit
1b22b3bd49
|
@ -118,6 +118,7 @@ public class TransactionsViewController implements RouteSelectionListener {
|
||||||
@Override
|
@Override
|
||||||
public void onRouteSelected(Object context) {
|
public void onRouteSelected(Object context) {
|
||||||
paginationControls.sorts.setAll(DEFAULT_SORTS);
|
paginationControls.sorts.setAll(DEFAULT_SORTS);
|
||||||
|
transactionsVBox.getChildren().clear(); // Clear the transactions before reload initially.
|
||||||
|
|
||||||
// Refresh account filter options.
|
// Refresh account filter options.
|
||||||
Thread.ofVirtual().start(() -> {
|
Thread.ofVirtual().start(() -> {
|
||||||
|
|
Loading…
Reference in New Issue