Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

user can edit wp comment for more than one time

bsatarnejad032ea67a0827
diff --git a/frontend/src/app/components/wp-activity/user/user-activity.component.ts b/frontend/src/app/components/wp-activity/user/user-activity.component.ts
index 97e51e9edfc..87cc5a2658d 100644
--- a/frontend/src/app/components/wp-activity/user/user-activity.component.ts
+++ b/frontend/src/app/components/wp-activity/user/user-activity.component.ts
@@ -172,8 +172,9 @@ export class UserActivityComponent extends WorkPackageCommentFieldHandler implem
this.wpLinkedActivities.require(this.workPackage, true);
this.wpCacheService.updateWorkPackage(this.workPackage);
this.deactivate(true);
+ this.inFlight = false;
})
- .catch(() => this.deactivate(true));
+ .catch(() => {this.deactivate(true); this.inFlight = false; });
}
public focusEditIcon() {