Skip to content

Commit

Permalink
Fix dpi fallback in MapExport
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Nov 23, 2023
1 parent 7db8032 commit a3558c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/MapExport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class MapExport extends React.Component {
constructor(props) {
super(props);
this.form = null;
this.state.dpi = props.dpis[0] || 96;
this.state.dpi = (props.dpis || [])[0] || 96;
}
state = {
extent: '',
Expand Down

0 comments on commit a3558c2

Please sign in to comment.