diff --git a/src/controls/print/print-legend.js b/src/controls/print/print-legend.js index 514174b3a..3877d0e58 100644 --- a/src/controls/print/print-legend.js +++ b/src/controls/print/print-legend.js @@ -284,8 +284,9 @@ const LayerRows = function LayerRows(options) { }); const layerListCmp = Component({ async render() { - const content = await overlayEls.reduce(async (acc, item) => await acc + await item.render(), ''); - return `