ReviewDB: Fix DM Sidebar Patch (#4384)

This commit is contained in:
thororen 2026-07-14 15:42:06 -04:00 • committed by GitHub
parent 94cc541e38
commit 0863efa93e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@ export default definePlugin({
// DM profile sidebar
find: ".SIDEBAR,disableToolbar:",
replacement: {
match: /user:(\i),widgets:.{0,100}?\}\),(?=.{0,200}?#{intl::USER_PROFILE_WISHLIST})/,
match: /user:(\i),widgets:.{0,100}?\}\),(?=.{0,100}unownedWishlistItems:\i,wishlistId:\i)/,
replace: "$&$self.renderProfileComponent({user:$1,isSideBar:true}),"
}
},