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=649ddb2d71f39ab0abc8bda48f3c05de6b522140;p=evergreen%2Fpines.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 Signed-off-by: Jane Sandberg --- 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 be7b19cb7e..d75ef88b60 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