Skip to content

Commit

Permalink
Merge pull request #513 from performant-software/dev
Browse files Browse the repository at this point in the history
FairCopy v.1.1.7
  • Loading branch information
NickLaiacona authored Feb 15, 2023
2 parents c632b0a + f3a14f1 commit 248de64
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faircopy",
"version": "1.1.6",
"version": "1.1.7",
"description": "A word processor for the humanities scholar.",
"main": "public/electron.js",
"private": true,
Expand Down
7 changes: 7 additions & 0 deletions public/main-process/release-notes/latest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

The release notes list the improvements and bug fixes included in each new version of the software.

## Version 1.1.7

### Bug Fixes

* Crash bug deleting resource with no parent
* Error message when checking out config

## Version 1.1.6

### Improvements
Expand Down
2 changes: 2 additions & 0 deletions src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export default class App extends Component {
if( lockStatus !== 'checked_out' ) {
fairCopyProject.saveFairCopyConfig( config, configLastAction )
this.setState( { ...this.state } )
} else {
fairCopyProject.configLastAction = configLastAction
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/main-window/dialogs/AlertDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class AlertDialog extends Component {

// we need to see if any of the open resources have a doomed resource as a parent and add them to close list
for( const openResource of Object.values(openResources) ) {
if( resourceIDs.includes( openResource.parentEntry.id ) ) {
if( openResource.parentEntry && resourceIDs.includes( openResource.parentEntry.id ) ) {
closingResourceIDs.push( openResource.resourceID )
}
}
Expand Down

0 comments on commit 248de64

Please sign in to comment.