MemberCount: fix family center crash (#1486)
This commit is contained in:
parent
9268cf3ffb
commit
1d77ab0ade
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ export default definePlugin({
|
||||||
find: ".isSidebarVisible,",
|
find: ".isSidebarVisible,",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(var (\i)=\i\.className.+?children):\[(\i\.useMemo[^}]+"aria-multiselectable")/,
|
match: /(var (\i)=\i\.className.+?children):\[(\i\.useMemo[^}]+"aria-multiselectable")/,
|
||||||
replace: "$1:[$2.startsWith('members')?$self.render():null,$3"
|
replace: "$1:[$2?.startsWith('members')?$self.render():null,$3"
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue