We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d717b1 commit b22442cCopy full SHA for b22442c
plugins/Print.jsx
@@ -330,7 +330,7 @@ class Print extends React.Component {
330
</td>
331
</tr>
332
) : null}
333
- {this.state.layout.atlasCoverageLayer ? (
+ {this.state.layout.atlasCoverageLayer && !this.state.printSeriesEnabled ? (
334
<tr>
335
<td>{LocaleUtils.tr("print.atlasfeature")}</td>
336
<td>
@@ -399,7 +399,7 @@ class Print extends React.Component {
399
400
<td>{LocaleUtils.tr("print.series")}</td>
401
402
- <ToggleSwitch active={this.state.printSeriesEnabled} onChange={(newstate) => this.setState({printSeriesEnabled: newstate})} />
+ <ToggleSwitch active={this.state.printSeriesEnabled} onChange={(newstate) => this.setState({printSeriesEnabled: newstate, atlasFeatures: []})} />
403
404
405
0 commit comments