Fix PermissionsViewer on user popouts

This commit is contained in:
Nuckyz 2024-08-28 02:10:20 -03:00
parent 4b16fbcaa9
commit 7d8214fc37
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
2 changed files with 2 additions and 2 deletions

View file

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