changeset 4736:fcbd585ae308 stack-polygons

Merged default into stack-polygons branch.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 18 Oct 2019 11:02:58 +0200
parents 56bd9ba0354c (current diff) 7a40a39853a9 (diff)
children e8df3aeb0a32
files
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue	Fri Oct 18 09:37:53 2019 +0200
+++ b/client/src/components/Pdftool.vue	Fri Oct 18 11:02:58 2019 +0200
@@ -208,12 +208,7 @@
     },
     filename() {
       let filename = "map";
-      if (
-        this.bottleneckForPrint &&
-        this.openLayersMap()
-          .getLayer("BOTTLENECKISOLINE")
-          .getVisible()
-      ) {
+      if (this.bottleneckForPrint) {
         // TODO: Check if the view contains the selected bottleneck
         // to avoid including bottleneck info in pdf in case view has changed to another location
         filename = `BN-${sanitize(this.bottleneckForPrint).replace(/ /g, "-")}`;