LP1888723 Volcopy strings should be global
authorBill Erickson <berickxx@gmail.com>
Wed, 6 Jan 2021 18:10:58 +0000 (13:10 -0500)
committerJane Sandberg <sandbej@linnbenton.edu>
Fri, 5 Mar 2021 04:01:43 +0000 (20:01 -0800)
commit654025187311f704ecfb6bae396c15a66ac218c4
tree67edd5d600c8687e3e825ca69a456044434e52f3
parentf2a807cb32429d5bbeb2dd3ae7e645a4eff85fc9
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>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.html