LP1828840: Option to hide grid save settings button in angular grid user/gmcharlt/lp1828840_signoff
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 26 May 2019 01:46:03 +0000 (18:46 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 28 May 2019 18:58:09 +0000 (14:58 -0400)
commit9f94a1f4b107e793c2eced5a44bfaca57aefd565
tree668623141383e9925281dec5ae3a785b9324c954
parent4701869d8e4a1fd57b2ee1c1600b56a98e962e09
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>
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