# HG changeset patch # User Thomas Junk # Date 1549448423 -3600 # Node ID 763c520a7717d863625d4efa234fda14b2113e22 # Parent da902f0dac885b3ec2b397b70334ebca5c5537ea fix: bottleneckselection via identifytool In case the user has identifyied a bottleneck the bottleneck was selected for him automatically. In order to identify a bottleneck, the id was tested against ^bottlenecks\. The id has changed from "bottlenecks." to "bottlenecks_" which caused the defect. We test now against ^bottlenecks in the hope to identify a bottleneck correct. diff -r da902f0dac88 -r 763c520a7717 client/src/store/map.js --- a/client/src/store/map.js Wed Feb 06 09:56:36 2019 +0100 +++ b/client/src/store/map.js Wed Feb 06 11:20:23 2019 +0100 @@ -529,7 +529,7 @@ for (let feature of features) { let id = feature.getId(); // RegExp.prototype.test() works with number, str and undefined - if (/^bottlenecks\./.test(id)) { + if (/^bottlenecks/.test(id)) { if ( rootState.bottlenecks.selectedBottleneck != feature.get("objnam")