@@ -1423,7 +1423,7 @@ export class ProjectKanbanView {
14231423 addBtn.className = 'b3-button b3-button--small b3-button--primary';
14241424 addBtn.innerHTML = `<svg class="b3-button__icon"><use xlink:href="#iconAdd"></use></svg> ${i18n('newMilestone')}`;
14251425 addBtn.addEventListener('click', () => {
1426- this.showMilestoneEditDialog(null, groupId, () => this.renderMilestonesInDialog(parentContainer), milestones);
1426+ this.showMilestoneEditDialog(null, groupId, () => this.renderMilestonesInDialog(parentContainer, groupId ), milestones);
14271427 });
14281428 header.appendChild(addBtn);
14291429
@@ -1512,7 +1512,7 @@ export class ProjectKanbanView {
15121512 editBtn.innerHTML = '<svg class="b3-button__icon"><use xlink:href="#iconEdit"></use></svg>';
15131513 editBtn.addEventListener('click', (e) => {
15141514 e.stopPropagation();
1515- this.showMilestoneEditDialog(ms, groupId, () => this.renderMilestonesInDialog(parentContainer), milestones);
1515+ this.showMilestoneEditDialog(ms, groupId, () => this.renderMilestonesInDialog(parentContainer, groupId ), milestones);
15161516 });
15171517 actions.appendChild(editBtn);
15181518
@@ -1526,7 +1526,7 @@ export class ProjectKanbanView {
15261526 i18n('confirmDeleteMilestone').replace('${name}', ms.name),
15271527 async () => {
15281528 await this.deleteMilestone(ms.id, groupId);
1529- this.renderMilestonesInDialog(parentContainer);
1529+ this.renderMilestonesInDialog(parentContainer, groupId );
15301530 },
15311531 () => {
15321532 console.log("用户取消了删除");
@@ -1638,7 +1638,7 @@ export class ProjectKanbanView {
16381638 }
16391639
16401640 window.dispatchEvent(new CustomEvent('reminderUpdated'));
1641- this.renderMilestonesInDialog(parentContainer);
1641+ this.renderMilestonesInDialog(parentContainer, groupId );
16421642 });
16431643 }
16441644
0 commit comments