Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #8417

Category None
Changed by Jason Stephenson <jasonohnoyoudont@sigio.com>
Changed at Thu 07 Apr 2022 11:11:54
Repository git://git.evergreen-ils.org/Evergreen.git
Project Evergreen
Branch master
Revision 7687f572fb300284df4d82530ddaa9d07c2b23f2

Comments

LP1959904: Fix Angular Profile Select Component
The Angular profile select component has a bug when permission group
tree display entries are used.  It will loop forever if the grp and
parent have the same value in permission.grp_tree_display_entry
because it is comparing permission group tree entries to permission
group tree display entries in the groups filter of the grpLabel
function.

This patch adds a ternary operator to compare display entries to
display entries and group tree entries to group tree entries in a
manner identical to how the parent value is determined a few lines
above.

See the bug description for more information:

    https://bugs.launchpad.net/evergreen/+bug/1959904

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Changed files