mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-09 01:17:06 +02:00
fix: consumption warning is either/or not and
This commit is contained in:
parent
32ae7bc7d1
commit
bd11ece873
@ -69,7 +69,10 @@ const NetworkTrafficUsage: FC = () => {
|
||||
chartDataSelection.grouping === 'daily' &&
|
||||
chartDataSelection.month === currentMonth;
|
||||
const showConsumptionBillingWarning =
|
||||
isCurrentMonth && totalTraffic > 0 && overageCost > 0;
|
||||
(chartDataSelection.grouping === 'monthly' ||
|
||||
chartDataSelection.month === currentMonth) &&
|
||||
totalTraffic > 0 &&
|
||||
overageCost > 0;
|
||||
|
||||
return (
|
||||
<ConditionallyRender
|
||||
|
Loading…
Reference in New Issue
Block a user