From b75b0eec30bc3ee6dab3213baae98ce995d7aebd Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 27 Nov 2024 09:25:13 +0100 Subject: [PATCH] Add missing key props to PrintSelection components --- package.json | 2 +- plugins/MapExport.jsx | 4 ++-- plugins/Print.jsx | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f1af284b6..c653a182f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "qwc2", - "version": "2024.11.26-master", + "version": "2024.11.27-master", "description": "QGIS Web Client 2 core", "author": "Sourcepole AG", "license": "BSD-2-Clause", diff --git a/plugins/MapExport.jsx b/plugins/MapExport.jsx index a05adeedc..c6edaa80e 100644 --- a/plugins/MapExport.jsx +++ b/plugins/MapExport.jsx @@ -277,10 +277,10 @@ class MapExport extends React.Component { height: pageSize.height }; return (); } else { - return (); + return (); } }; render() { diff --git a/plugins/Print.jsx b/plugins/Print.jsx index 44be72520..5e3ae80c8 100644 --- a/plugins/Print.jsx +++ b/plugins/Print.jsx @@ -559,6 +559,7 @@ class Print extends React.Component { center={this.state.center || this.props.map.center} fixedFrame={frame} geometryChanged={this.geometryChanged} + key="PrintSelection" printSeriesChanged={this.printSeriesChanged} printSeriesEnabled={this.props.displayPrintSeries && this.state.printSeriesEnabled} printSeriesOverlap={this.state.printSeriesOverlap / 100}