Fix ShowAllRoles
This commit is contained in:
parent
256a85c95c
commit
bec4c76d9a
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".Messages.VIEW_ALL_ROLES",
|
find: ".Messages.VIEW_ALL_ROLES",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /return null!=\i(?=\?\i\.slice)/,
|
match: /(\i)\.slice\(0,\i\)/,
|
||||||
replace: "return false"
|
replace: "$1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue