Skip to content

Commit

Permalink
fix(cardeditor): fix time range labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Armendariz authored and Joel Armendariz committed Nov 11, 2020
1 parent a6444bd commit 0ea4421
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/components/CardEditor/CardEditForm/CardEditFormContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -174,7 +174,7 @@ const CardEditFormContent = ({
const validTimeRanges = getValidTimeRanges
? getValidTimeRanges(cardConfig, selectedDataItems)
: defaultTimeRangeOptions;

console.log('i18n', mergedI18n);
return (
<>
<div className={`${baseClassName}--input`}>
Expand Down

0 comments on commit 0ea4421

Please sign in to comment.