From: Bill Erickson Date: Tue, 25 Jun 2019 14:44:57 +0000 (-0400) Subject: LP1832148 Clear selection for deleted grid rows X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fberick%2Flp1832148-ang-grid-selected-delete;p=working%2FEvergreen.git LP1832148 Clear selection for deleted grid rows Ignore rows which are no longer present in the grid when displaying the "X selected" rows label along the top of the Angular grid. Additionally, teach the grid to clear selected indexes for rows that are no longer present for a bit of low-impact release of memory. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html index 6be92080a3..989332f242 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html +++ b/Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html @@ -30,7 +30,7 @@
- {{gridContext.rowSelector.selected().length}} selected + {{gridContext.getSelectedRows().length}} selected