From 5a1ba9ca8e383646c7ad6327bb4f28dfe5a2126b Mon Sep 17 00:00:00 2001 From: Jonas Date: Tue, 12 Nov 2024 08:29:25 +0100 Subject: [PATCH] Update viewer.js --- src/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer.js b/src/viewer.js index 70a0c3813..b400268d8 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -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; } });