Small test to see if moment isn't null

This commit is contained in:
James Cole 2020-11-25 19:43:42 +01:00
parent 825be42c4e
commit 7211ea5b9b
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -17,6 +17,8 @@ customRange: "{{ 'customRange'|_ }}"
}
};
moment ??= function() {};
// date range actual configuration:
var dateRangeConfig = {
startDate: moment("{{ dateRangeConfig.start }}"),