diff --git a/renderer/src/components/Projects/NewProject.js b/renderer/src/components/Projects/NewProject.js index 015cf9e7..cda440ab 100644 --- a/renderer/src/components/Projects/NewProject.js +++ b/renderer/src/components/Projects/NewProject.js @@ -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); } diff --git a/renderer/src/components/hooks/projects/useProjectsSort.js b/renderer/src/components/hooks/projects/useProjectsSort.js index 56dda65f..a84a6fbb 100644 --- a/renderer/src/components/hooks/projects/useProjectsSort.js +++ b/renderer/src/components/hooks/projects/useProjectsSort.js @@ -169,7 +169,7 @@ function useProjectsSort() { ?.description; isArchived = projJuxta ?.isArchived; - starred = projJuxta.starred; + starred = projJuxta?.starred; } flavorType = 'Juxtalinear'; break;