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