mirror of https://github.com/go-gitea/gitea.git
fix empty title
This commit is contained in:
parent
65c5b3d071
commit
af6106baa0
|
@ -115,7 +115,9 @@ export function initRepoProject() {
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
} finally {
|
} finally {
|
||||||
projectTitleLabel.textContent = projectTitleInput?.value;
|
if (projectTitleInput?.value !== '') {
|
||||||
|
projectTitleLabel.textContent = projectTitleInput?.value;
|
||||||
|
}
|
||||||
projectTitleInput.closest('form')?.classList.remove('dirty');
|
projectTitleInput.closest('form')?.classList.remove('dirty');
|
||||||
const dividers = boardColumn.querySelectorAll(':scope > .divider');
|
const dividers = boardColumn.querySelectorAll(':scope > .divider');
|
||||||
if (projectColorInput.value) {
|
if (projectColorInput.value) {
|
||||||
|
|
Loading…
Reference in New Issue