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>
Mon, 8 Feb 2021 20:10:48 +0000 (15:10 -0500)
commitc180c7b09ca209cf09924917a8ff4f4c17d4f491
tree3a56c63b0ba89a4bbcedf44f162a3ff6dee2328c
parent25517e3017ba0c1db13b60d1a930d2b3289826da
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