Gift Item Star: Fix ribbon for premium sold out (#6206)
This commit is contained in:
parent
6aaa71102c
commit
29601e94f3
@ -144,15 +144,15 @@ function GiftItemStar({
|
||||
/>
|
||||
);
|
||||
}
|
||||
if (isPremiumRequired) {
|
||||
return <GiftRibbon color="orange" text={lang('LimitPremium')} />;
|
||||
}
|
||||
if (isResale) {
|
||||
return <GiftRibbon color="green" text={lang('GiftRibbonResale')} />;
|
||||
}
|
||||
if (isSoldOut) {
|
||||
return <GiftRibbon color="red" text={lang('GiftSoldOut')} />;
|
||||
}
|
||||
if (isPremiumRequired) {
|
||||
return <GiftRibbon color="orange" text={lang('LimitPremium')} />;
|
||||
}
|
||||
if (isLimited) {
|
||||
return <GiftRibbon color="blue" text={lang('GiftLimited')} />;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user