PermissionsViewer: Fix profile button (#2925)

This commit is contained in:
sadan4 2024-10-04 05:28:36 -04:00 committed by GitHub
parent 43b3c137ce
commit 91a32e22de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -172,7 +172,7 @@ export default definePlugin({
{ {
find: ".VIEW_ALL_ROLES,", find: ".VIEW_ALL_ROLES,",
replacement: { replacement: {
match: /\.collapseButton,.+?}\)}\),/, match: /\.expandButton,.+?null,/,
replace: "$&$self.ViewPermissionsButton(arguments[0])," replace: "$&$self.ViewPermissionsButton(arguments[0]),"
} }
} }