Mercurial > gemma
diff client/src/store/application.js @ 5040:066b76ef5e6a time-sliding
selected time is refreshed after reloads
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 28 Feb 2020 11:32:37 +0100 |
parents | 9d288d9b851b |
children | da28a58eb10d |
line wrap: on
line diff
--- a/client/src/store/application.js Fri Feb 28 10:29:18 2020 +0100 +++ b/client/src/store/application.js Fri Feb 28 11:32:37 2020 +0100 @@ -14,8 +14,9 @@ * Bernhard E. Reiter <bernhard.reiter@intevation.de> */ +import { displayError, displayInfo } from "@/lib/errors"; + import { HTTP } from "@/lib/http"; -import { displayError, displayInfo } from "@/lib/errors"; import { version } from "../../package.json"; // initial state @@ -46,7 +47,7 @@ expandToolbar: true, countries: ["AT", "SK", "HU", "HR", "RS", "BG", "RO"], searchQuery: "", - selectedTime: new Date("2020-01-04"), + selectedTime: new Date(), version, tempRoute: "", config: {}