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, 11 Aug 2021 18:36:50 +0000 (14:36 -0400)
commit01ec6e2d3817915673d6a09fc394ddcfbd2dd1e3
tree2f289f8a0fd6705cfb87a4b4c34bbc3f09115bd6
parentcc3101448839e77849449aaf99986397b8516ebd
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