Merge branch 'immediate-finds' into immediate-finds-modules-proxy
This commit is contained in:
commit
65013f0149
|
@ -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