Decor: Fix Create Preview Modal
This commit is contained in:
parent
1611b4e15b
commit
8f0db742ec
1 changed files with 2 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ export default definePlugin({
|
|||
find: "#{intl::PREMIUM_UPSELL_PROFILE_AVATAR_DECO_INLINE_UPSELL_DESCRIPTION}",
|
||||
replacement: {
|
||||
match: /(#{intl::PREMIUM_UPSELL_PROFILE_AVATAR_DECO_INLINE_UPSELL_DESCRIPTION}.+?return null!=(\i)&&\()(null==\i)/,
|
||||
replace: (_, rest, avatarDecoration, hasPurchase) => `${rest}(${avatarDecoration}.skuId!==$self.SKU_ID&&${hasPurchase})`
|
||||
replace: (_, rest, avatarDecoration, hasPurchase) => `${rest}(${avatarDecoration}.skuId!==$self.SKU_ID&&${avatarDecoration}.skuId!==$self.RAW_SKU_ID&&${hasPurchase})`
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
@ -140,6 +140,7 @@ export default definePlugin({
|
|||
},
|
||||
|
||||
SKU_ID,
|
||||
RAW_SKU_ID,
|
||||
|
||||
useUserDecorAvatarDecoration,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue