LP1888723 Volcopy strings should be global
authorBill Erickson <berickxx@gmail.com>
Wed, 6 Jan 2021 18:10:58 +0000 (13:10 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 7 Jan 2021 20:26:35 +0000 (15:26 -0500)
commit1ff6926abe702d711df0e921ab17d2c8c56277f4
tree388dcfc9cbb8ad333dd79ab2d8fda63b700adbbc
parentf54a69bd184c1d8e951d35855523c17ffe7a4e49
LP1888723 Volcopy strings should be global

Moving the <eg-string /> entries to the root of the tepmlate ensures all
references to those strings are defined / non-null.  Otherwise, if the
user opts to hide a field which contained its own strings (e.g. loan
duration), the code would fail on null references, e.g.:

ERROR TypeError: Cannot read property 'text' of undefined

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html