Skip to content

Commit

Permalink
[Peterborough] Fix tree group message display
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Feb 5, 2025
1 parent 7054119 commit 56c3605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/cobrands/fixmystreet/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ fixmystreet.message_controller = (function() {

var cls = 'js-roads-layer-' + layer.id;
var div;
if (layer_data.no_asset_message) {
if (layer_data.no_asset_message !== undefined) {
id = id || '#' + cls;
var message = layer_data.no_asset_message[id] || layer_data.no_asset_message["default"] || layer_data.no_asset_message;
div = $('<div/>').html(message);
Expand Down

0 comments on commit 56c3605

Please sign in to comment.