fix empty title

This commit is contained in:
yp05327 2024-05-02 06:16:05 +00:00
parent 65c5b3d071
commit af6106baa0
1 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,9 @@ export function initRepoProject() {
} catch (error) {
console.error(error);
} finally {
projectTitleLabel.textContent = projectTitleInput?.value;
if (projectTitleInput?.value !== '') {
projectTitleLabel.textContent = projectTitleInput?.value;
}
projectTitleInput.closest('form')?.classList.remove('dirty');
const dividers = boardColumn.querySelectorAll(':scope > .divider');
if (projectColorInput.value) {