Skip to content

Commit 0387bd5

Browse files
committed
chore(5957): make isForecastEnabled optional in chart config
1 parent a41a7b2 commit 0387bd5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/components/private-cloud/monthly-cost/monthly-cost-chart-data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function getMonthlyCostChartConfig({
77
isForecastEnabled,
88
}: {
99
data: Pick<MonthlyCost, 'days' | 'dayDetails'>;
10-
isForecastEnabled: boolean;
10+
isForecastEnabled?: boolean;
1111
}) {
1212
const options = {
1313
plugins: {

app/components/private-cloud/quarterly-cost/quarterly-cost-chart-data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function getQuarterlyCostChartConfig({
77
isForecastEnabled,
88
}: {
99
data: Pick<QuarterlyCost, 'months' | 'monthDetails'>;
10-
isForecastEnabled: boolean;
10+
isForecastEnabled?: boolean;
1111
}) {
1212
const options = {
1313
plugins: {

app/components/private-cloud/yearly-cost/yearly-cost-chart-data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export function getYearlyCostChartConfig({
77
isForecastEnabled,
88
}: {
99
data: Pick<YearlyCost, 'months' | 'monthDetails'>;
10-
isForecastEnabled: boolean;
10+
isForecastEnabled?: boolean;
1111
}) {
1212
const options = {
1313
plugins: {

0 commit comments

Comments
 (0)