From 0ea442194eb92c3d487afa7a68a33fe6eb1f4f14 Mon Sep 17 00:00:00 2001 From: Joel Armendariz Date: Wed, 11 Nov 2020 13:37:31 -0600 Subject: [PATCH] fix(cardeditor): fix time range labels --- .../CardEditForm/CardEditFormContent.jsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/CardEditor/CardEditForm/CardEditFormContent.jsx b/src/components/CardEditor/CardEditForm/CardEditFormContent.jsx index f3ef26fb3e..b1555d184e 100644 --- a/src/components/CardEditor/CardEditForm/CardEditFormContent.jsx +++ b/src/components/CardEditor/CardEditForm/CardEditFormContent.jsx @@ -117,15 +117,15 @@ const defaultProps = { selectASize: 'Select a size', timeRange: 'Time range', selectATimeRange: 'Select a time range', - last24HoursLabel: 'Last 24 hours', - last7DaysLabel: 'Last 7 days', - lastMonthLabel: 'Last month', - lastQuarterLabel: 'Last quarter', - lastYearLabel: 'Last year', - thisWeekLabel: 'This week', - thisMonthLabel: 'This month', - thisQuarterLabel: 'This quarter', - thisYearLabel: 'This year', + last24Hours: 'Last 24 hours', + last7Days: 'Last 7 days', + lastMonth: 'Last month', + lastQuarter: 'Last quarter', + lastYear: 'Last year', + thisWeek: 'This week', + thisMonth: 'This month', + thisQuarter: 'This quarter', + thisYear: 'This year', }, getValidDataItems: null, getValidTimeRanges: null, @@ -174,7 +174,7 @@ const CardEditFormContent = ({ const validTimeRanges = getValidTimeRanges ? getValidTimeRanges(cardConfig, selectedDataItems) : defaultTimeRangeOptions; - + console.log('i18n', mergedI18n); return ( <>