changeset 865:f868570da418

Make lint happy
author Sascha Wilde <wilde@intevation.de>
date Fri, 28 Sep 2018 22:00:21 +0200
parents 2079fabbe6dd
children 9aa545585bdd
files client/src/map/Maplayer.vue client/src/map/store.js
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/map/Maplayer.vue	Fri Sep 28 21:39:01 2018 +0200
+++ b/client/src/map/Maplayer.vue	Fri Sep 28 22:00:21 2018 +0200
@@ -286,7 +286,14 @@
       console.log("updating filter with", bottleneck_id, datestr);
       var wmsSrc = this.getLayerByName("Bottleneck isolines").data.getSource();
       // TODOISO check if this works
-      wmsSrc.updateParams({ cql_filter: "date_info='" + datestr + "' AND bottleneck_id='" + bottleneck_id + "'" });
+      wmsSrc.updateParams({
+        cql_filter:
+          "date_info='" +
+          datestr +
+          "' AND bottleneck_id='" +
+          bottleneck_id +
+          "'"
+      });
     }
   },
   watch: {
--- a/client/src/map/store.js	Fri Sep 28 21:39:01 2018 +0200
+++ b/client/src/map/store.js	Fri Sep 28 22:00:21 2018 +0200
@@ -53,7 +53,7 @@
               }).then(response => {
                 tile.getImage().src = URL.createObjectURL(response.data);
               });
-            }  // TODO  tile.setState(TileState.ERROR);
+            } // TODO  tile.setState(TileState.ERROR);
           })
         }),
         isVisible: true