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>
Wed, 17 Feb 2021 15:01:27 +0000 (10:01 -0500)
commitd933ff6e9da387214fe927e86a04520a2a10b2b5
tree808a054c48eaeefdf75da5a94b0f8b210bd12c11
parent72ba3c7a7948e7937d012a2714bfd858f6eb85c1
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