Properly support multiple instances of WoltLabSuite/Core/Ui/ItemList/User
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Jul 2020 14:46:26 +0000 (16:46 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 3 Jul 2020 14:46:26 +0000 (16:46 +0200)
commitf1b562d617c46b936ced5b4af85220566c07c66c
tree0c23baab57477b0c019f0ec25a7469092b099645
parent06572dd33590714929dc1ca0b626942249e6053e
Properly support multiple instances of WoltLabSuite/Core/Ui/ItemList/User

WoltLabSuite/Core/Ui/ItemList/User is a singleton and thus only has a single
instance of each object member. This lead to the `_shadowGroups` value being
fixed to the first input used.

Move the `_shadowGroups` into the existing `data` object (where the regular
`shadow` resides) to fix this issue.

Introduced in 8faf6ea10ac894b87b3e357f5248f67b4fd7b716.
Fixes #3433.
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/ItemList/User.js