mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-14 01:16:17 +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.grouping === 'daily' &&
|
||||||
chartDataSelection.month === currentMonth;
|
chartDataSelection.month === currentMonth;
|
||||||
const showConsumptionBillingWarning =
|
const showConsumptionBillingWarning =
|
||||||
isCurrentMonth && totalTraffic > 0 && overageCost > 0;
|
(chartDataSelection.grouping === 'monthly' ||
|
||||||
|
chartDataSelection.month === currentMonth) &&
|
||||||
|
totalTraffic > 0 &&
|
||||||
|
overageCost > 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ConditionallyRender
|
<ConditionallyRender
|
||||||
|
Loading…
Reference in New Issue
Block a user