]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1828840: Option to hide grid save settings button in angular grid
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 26 May 2019 01:46:03 +0000 (18:46 -0700)
committerBill Erickson <berickxx@gmail.com>
Tue, 16 Jul 2019 17:54:53 +0000 (13:54 -0400)
commit43ef87579390d3a333b7ad58f2fb97601885a37c
tree70861969cb56ca230b940daba56ef8317f297bce
parent1cbca8a5f06fe3f6cc6e6e0656ba46b65eba6984
LP1828840: Option to hide grid save settings button in angular grid

To test:

1) Apply this commit.
2) Create an eg-grid in the Angular staff client without a persistKey
attribute (or use the one in the sandbox).
3) Compile the client and open the grid in your browser.  Open the
column picker menu.  Note that the Save button does not display.
4) Add an arbitrary value to the persistKey attribute.
5) Repeat step 3.  Note that the Save button does display.
6) Change the value of the persistKey attribute to "disabled".
7) Repeat step 3.  Note that the Save button does not display.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.html
Open-ILS/src/eg2/src/app/share/grid/grid-toolbar.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid.component.html
Open-ILS/src/eg2/src/app/share/grid/grid.component.ts