Skip to content

Commit

Permalink
Update viewer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jokd authored Nov 12, 2024
1 parent d01cb75 commit 5a1ba9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const Viewer = function Viewer(targetOption, options = {}) {
const layers = {};
capabilitiesResults.forEach(result => {
layers[result.name] = result.capabilites;
if(source[result.name]?.saveCapabilitiesDoc !== false){
if (source[result.name]?.saveCapabilitiesDoc !== false) {
source[result.name].capabilitiesDoc = result.capabilitesDoc;
}
});
Expand Down

0 comments on commit 5a1ba9c

Please sign in to comment.