Comment: ignore minAmount when in Fiat
This commit is contained in:
parent
a9a2270ae9
commit
5249e46179
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ export function CommentCreate(props: Props) {
|
||||||
const minSuper = (channelSettings && channelSettings.min_tip_amount_super_chat) || 0;
|
const minSuper = (channelSettings && channelSettings.min_tip_amount_super_chat) || 0;
|
||||||
const minTip = (channelSettings && channelSettings.min_tip_amount_comment) || 0;
|
const minTip = (channelSettings && channelSettings.min_tip_amount_comment) || 0;
|
||||||
const minAmount = minTip || minSuper || 0;
|
const minAmount = minTip || minSuper || 0;
|
||||||
const minAmountMet = minAmount === 0 || tipAmount >= minAmount;
|
const minAmountMet = activeTab !== TAB_LBC || minAmount === 0 || tipAmount >= minAmount;
|
||||||
const stickerPrice = selectedSticker && selectedSticker.price;
|
const stickerPrice = selectedSticker && selectedSticker.price;
|
||||||
const tipSelectorError = tipError || disableReviewButton;
|
const tipSelectorError = tipError || disableReviewButton;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue