From 8edad609f7a207d242ddeaca0a5b33c3f1b88cf5 Mon Sep 17 00:00:00 2001 From: Lachlan Kermode Date: Tue, 21 Jul 2020 10:05:01 +0200 Subject: [PATCH] add default rangeLimits --- src/store/initial.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/store/initial.js b/src/store/initial.js index 957d470..0b6f8e0 100644 --- a/src/store/initial.js +++ b/src/store/initial.js @@ -72,6 +72,10 @@ const initial = { new Date(2001, 2, 23, 12), new Date(2021, 2, 23, 12) ], + rangeLimits: [ + new Date(1, 1, 1, 1), + new Date() + ], zoomLevels: [ { label: '20 years', duration: 10512000 }, { label: '2 years', duration: 1051200 },