Skip to content

Commit

Permalink
Merge pull request #961 from geoadmin/fix-713-missing-treasure-hunt-i…
Browse files Browse the repository at this point in the history
…cons

PB-713: revert to use the same logic as in the old geoadmin. - #patch
  • Loading branch information
pakb authored Jun 26, 2024
2 parents e2402fb + 2bfc36b commit 4a90702
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ OlStyleForPropertyValue.prototype.initialize_ = function (properties) {

OlStyleForPropertyValue.prototype.pushOrInitialize_ = function (geomType, key, styleSpec) {
// Happens when styling is only resolution dependent (unique type only)
if (!key) {
if (key === undefined) {
key = this.defaultVal
}
if (!this.styles[geomType][key]) {
Expand Down

0 comments on commit 4a90702

Please sign in to comment.