fix: order after refresh
This commit is contained in:
parent
435ddd65a2
commit
7f27ff0b3d
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ public class ExpensesView extends Div implements BeforeEnterObserver {
|
|||
}
|
||||
|
||||
private void refreshGrid() {
|
||||
grid.setItems(this.expenseService.findAll());
|
||||
grid.setItems(this.expenseService.findAllOrderByDateDescending());
|
||||
grid.select(null);
|
||||
grid.getDataProvider().refreshAll();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue