Fix MemberCount
This commit is contained in:
parent
ddee3e1264
commit
a41abfef31
1 changed files with 3 additions and 3 deletions
|
@ -105,10 +105,10 @@ export default definePlugin({
|
|||
authors: [Devs.Ven, Devs.Commandtechno],
|
||||
|
||||
patches: [{
|
||||
find: ".isSidebarVisible,",
|
||||
find: "{isSidebarVisible:",
|
||||
replacement: {
|
||||
match: /(var (\i)=\i\.className.+?children):\[(\i\.useMemo[^}]+"aria-multiselectable")/,
|
||||
replace: "$1:[$2?.startsWith('members')?$self.render():null,$3"
|
||||
match: /(?<=let\{className:(\i),.+?children):\[(\i\.useMemo[^}]+"aria-multiselectable")/,
|
||||
replace: ":[$1?.startsWith('members')?$self.render():null,$2"
|
||||
}
|
||||
}],
|
||||
|
||||
|
|
Loading…
Reference in a new issue