Skip to content

Commit 6bd49cd

Browse files
author
Tim Geyssens
committed
should be fixed now
1 parent 40df444 commit 6bd49cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Analytics/App_Plugins/Analytics/backOffice/AnalyticsTree/resources/Settings.Resource.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ angular.module("umbraco.resources")
5252
if (dateFilter.startDate == null) {
5353
dateFilter.startDate = moment().subtract('days', 29).format('YYYY-MM-DD');
5454
dateFilter.endDate = moment().format('YYYY-MM-DD');
55-
$cookieStore.put("analyticsStartDate", startDate);
56-
$cookieStore.put("analyticsEndDate", endDate);
55+
$cookieStore.put("analyticsStartDate", dateFilter.startDate);
56+
$cookieStore.put("analyticsEndDate", dateFilter.endDate);
5757
}
5858

5959
return dateFilter;

0 commit comments

Comments
 (0)