Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions renderer/src/core/projects/saveProjetcsMeta.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const saveProjectsMeta = async (projectMetaObj) => {
let projectNameExists = false;
let checkCanon = false;
const folderList = fs.readdirSync(projectDir);
projectMetaObj.newProjectFields.projectName = projectMetaObj.newProjectFields.projectName.trim();
folderList.forEach((folder) => {
const name = folder.split('_');
if (name[0] === projectMetaObj.newProjectFields.projectName && projectMetaObj.call === 'new') {
Expand Down
4 changes: 2 additions & 2 deletions renderer/src/modules/projects/NewProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function BibleHeaderTagDropDown(headerDropDown, handleDropDown, call) {
className="flex justify-center items-center px-3 py-2 text-white ml-5
font-bold text-xs rounded-full leading-3 tracking-wider uppercase bg-primary"
>
<div className="">{headerDropDown}</div>
<div className="">{headerDropDown === 'Translation' ? `Bible ${headerDropDown}` : headerDropDown}</div>
<ChevronDownIcon
className="w-5 h-5 ml-2"
aria-hidden="true"
Expand All @@ -81,7 +81,7 @@ function BibleHeaderTagDropDown(headerDropDown, handleDropDown, call) {
className="flex justify-center items-center px-3 py-2 text-white ml-5
font-bold text-xs rounded-full leading-3 tracking-wider uppercase bg-primary"
>
<div className="">{headerDropDown}</div>
<div className="">{headerDropDown === 'Translation' ? `Bible ${headerDropDown}` : headerDropDown}</div>
</button>
)

Expand Down