Remove useless Experiments patch

This commit is contained in:
Nuckyz 2023-10-21 12:03:54 -03:00
parent c25c95eecd
commit b2a1410a96
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -77,15 +77,6 @@ export default definePlugin({
} }
] ]
}, },
// Fix search history being disabled / broken with isStaff
{
find: 'get("disable_new_search")',
predicate: () => settings.store.enableIsStaff,
replacement: {
match: /(?<=showNewSearch"\);return)\s?!/,
replace: "!1&&!"
}
},
{ {
find: 'H1,title:"Experiments"', find: 'H1,title:"Experiments"',
replacement: { replacement: {