mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 14:43:03 -04:00
Fix SearchFix
This commit is contained in:
parent
2e85e598bf
commit
10d4036a34
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export default definePlugin({
|
||||||
find: '"SearchStore",',
|
find: '"SearchStore",',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(\i)\.offset=null!=\((\i)=(\i)\.offset\)\?(\i):0/i,
|
match: /(\i)\.offset=null!=\((\i)=(\i)\.offset\)\?(\i):0/i,
|
||||||
replace: (_, v, v1, query, v3, v4) => `$self.main(${query}), ${v}.offset = null !== (${v1} = ${query}.offset) && void 0 !== ${v3} ? ${v4} : 0`
|
replace: "$self.main($3), $1.offset = null != ($2 = $3.offset) ? $4 : 0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue