Fix some incorrect async functions, improve frontend document. (#17597)

This commit is contained in:
2021-11-12 20:37:45 +08:00
committed by GitHub
parent 0db7a32b92
commit 7f802631c5
7 changed files with 106 additions and 43 deletions

View File

@ -63,9 +63,7 @@ export default function initRepoProject() {
return;
}
(async () => {
await initRepoProjectSortable();
})();
const _promise = initRepoProjectSortable();
$('.edit-project-board').each(function () {
const projectHeader = $(this).closest('.board-column-header');