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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
use finally to avoid redundant code
bsatarnejadc64e61568b6f
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.tsindex 87cc5a2658d..da258caa133 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@@ -171,10 +171,10 @@ export class UserActivityComponent extends WorkPackageCommentFieldHandler implemthis.updateCommentText();this.wpLinkedActivities.require(this.workPackage, true);this.wpCacheService.updateWorkPackage(this.workPackage);- this.deactivate(true);- this.inFlight = false;})- .catch(() => {this.deactivate(true); this.inFlight = false; });+ .finally(() => {+ this.deactivate(true); this.inFlight = false;+ });}public focusEditIcon() {