diff client/src/map/Maplayer.vue @ 1123:d9e6a1f6f394 store-refactoring

moved all collapse flags for UI elements to store UI elements can now be expanded/collapsed via the application store
author Markus Kottlaender <markus@intevation.de>
date Tue, 06 Nov 2018 13:00:17 +0100
parents a4c74a95c177
children 2fda33d55d81 dc3f0277628a
line wrap: on
line diff
--- a/client/src/map/Maplayer.vue	Tue Nov 06 11:21:29 2018 +0100
+++ b/client/src/map/Maplayer.vue	Tue Nov 06 13:00:17 2018 +0100
@@ -155,7 +155,7 @@
             this.calculateIntersection(vectorSource, profileLine);
           })
           .then(() => {
-            this.$store.commit("application/openSplitScreen");
+            this.$store.commit("application/showSplitscreen", true);
           })
           .catch(error => {
             const { status, data } = error.response;