]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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, 3 Mar 2021 15:54:32 +0000 (10:54 -0500)
commit69704b81fc1ec62a98585885241e060176a6d7e8
tree4c4c25313f3959bcb23506474f6e56573e1cb8ca
parent2185b9d34c204b2df4b3358a98fcca95c751c6ad
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