Skip to content

Commit

Permalink
minor bugfixes and code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
danielc-n committed Apr 10, 2024
1 parent e554082 commit 16850f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion renderer/src/components/Projects/NewProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export default function NewProject({ call, project, closeEdit }) {
}

// juxta scope != imported books
if (create && !compareArrays(importedBookCodes, canonSpecification.currentScope)) {
if (create && headerDropDown === 'Juxta' && !compareArrays(importedBookCodes, canonSpecification.currentScope)) {
create = false;
setOpenModalJuxtaWrongSetOfBooks(true);
}
Expand Down
2 changes: 1 addition & 1 deletion renderer/src/components/hooks/projects/useProjectsSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ function useProjectsSort() {
?.description;
isArchived = projJuxta
?.isArchived;
starred = projJuxta.starred;
starred = projJuxta?.starred;
}
flavorType = 'Juxtalinear';
break;
Expand Down

0 comments on commit 16850f6

Please sign in to comment.