LP1851831 Group perm editor null descriptions OK
authorBill Erickson <berickxx@gmail.com>
Fri, 8 Nov 2019 15:37:21 +0000 (10:37 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 8 Nov 2019 19:40:19 +0000 (14:40 -0500)
commitdfd1fd9db6f56ac3c9e413b980c0a61f0424b28a
tree27f1ad5c0113df7bdc6b105fadfb73d48169cb75
parente0d52892b1aa320c7b4ff2c276b334dce59cc86c
LP1851831 Group perm editor null descriptions OK

Avoid assuming a permission description value is non-NULL in the
permission group editor interfaces since values are not required in the
database.

Fixes: ERROR TypeError: "l.description(...) is null"

Similarly repair the permission list title attributes so they display
the permission code (instead of an empty string) for titles when no
description is available.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/admin/server/perm-group-map-dialog.component.ts
Open-ILS/src/eg2/src/app/staff/admin/server/perm-group-tree.component.html
Open-ILS/src/eg2/src/app/staff/admin/server/perm-group-tree.component.ts