comparison client/src/store/bottlenecks.js @ 1114:8d12056d602a store-refactoring

shortened store file imports
author Markus Kottlaender <markus@intevation.de>
date Mon, 05 Nov 2018 13:41:53 +0100
parents f106aee673e7
children bc55ffaeb639
comparison
equal deleted inserted replaced
1113:595654ad3f66 1114:8d12056d602a
14 */ 14 */
15 import { HTTP } from "../application/lib/http"; 15 import { HTTP } from "../application/lib/http";
16 import { WFS } from "ol/format.js"; 16 import { WFS } from "ol/format.js";
17 import { displayError } from "../application/lib/errors.js"; 17 import { displayError } from "../application/lib/errors.js";
18 18
19 const Bottlenecks = { 19 export default {
20 namespaced: true, 20 namespaced: true,
21 state: { 21 state: {
22 bottlenecks: [], 22 bottlenecks: [],
23 selectedBottleneck: null, 23 selectedBottleneck: null,
24 surveys: [], 24 surveys: [],
94 commit("setSurveys", []); 94 commit("setSurveys", []);
95 } 95 }
96 } 96 }
97 } 97 }
98 }; 98 };
99
100 export default Bottlenecks;