Skip to content

Commit

Permalink
dont log error
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontk19 committed Dec 13, 2021
1 parent 56a91c3 commit a353330
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/javascript/imagery-products.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ Vue.component('measurement-container', {
}
})

/**
* Build an array of all layers with display properties formatted as needed for docs
* @param {*} layers
* @returns
*/
function formatLayers (layers) {
const getDate = (layer, key) => {
if (!layer[key]) {
Expand Down Expand Up @@ -248,7 +253,8 @@ const app = new Vue({
layergroup = 'Reference Map'
}
if (!mForCategory[layergroup]) {
console.error(layergroup);
// TODO handle this
// console.error(layergroup);
return;
}
mForCategory[layergroup].layers.push(layer);
Expand Down

0 comments on commit a353330

Please sign in to comment.