Skip to content

Commit

Permalink
Merge pull request #1628 from emilyanndavis/bugfix/1609-workbench-sav…
Browse files Browse the repository at this point in the history
…e-datastack-abs-paths

Bugfix: saving datastack with absolute paths
  • Loading branch information
davemfish authored Sep 12, 2024
2 parents 2eee3c3 + db9f4ce commit 3c1221e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Unreleased Changes
(https://github.com/natcap/invest/issues/1598)
* Fixed a bug that was allowing readonly workspace directories on Windows
(https://github.com/natcap/invest/issues/1599)
* Fixed a bug that, in certain scenarios, caused a datastack to be saved
with relative paths when the Relative Paths checkbox was left unchecked
(https://github.com/natcap/invest/issues/1609)

3.14.2 (2024-05-29)
-------------------
Expand Down
5 changes: 4 additions & 1 deletion workbench/src/renderer/components/SaveAsModal/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ class SaveAsModal extends React.Component {
}

handleShow() {
this.setState({ show: true });
this.setState({
relativePaths: false,
show: true,
});
}

handleChange(event) {
Expand Down

0 comments on commit 3c1221e

Please sign in to comment.