Skip to content

Commit 5f0aa12

Browse files
rhodgesCopilot
andauthored
Update visualize/static/js/wrappers/ol8/ol8_map.js
Great catch! Thanks Copilot! Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d1dbcef commit 5f0aa12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

visualize/static/js/wrappers/ol8/ol8_map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ app.wrapper.map.getLayerStyle = function(feature) {
10611061
var detail = lookupDetails[i];
10621062
if (
10631063
lookupField && feature.hasProperties() &&
1064-
detail.value.toString() == feature.getProperties()[lookupField] ? feature.getProperties()[lookupField].toString() : null
1064+
detail.value.toString() == (feature.getProperties()[lookupField] ? feature.getProperties()[lookupField].toString() : null)
10651065
) {
10661066
if (detail.fill) {
10671067
var fill_color = detail.color;

0 commit comments

Comments
 (0)