diff --git a/src/plugins/alwaysExpandRoles/index.ts b/src/plugins/alwaysExpandRoles/index.ts index e255b48b4..a052883d3 100644 --- a/src/plugins/alwaysExpandRoles/index.ts +++ b/src/plugins/alwaysExpandRoles/index.ts @@ -52,8 +52,8 @@ export default definePlugin({ replace: "false" }, { - match: /return \i\.length<\i\.length/, - replace: "return false", + match: /\i\.length<\i\.length/, + replace: "false", predicate: () => settings.store.hideArrow } ]