From 7ee7144828fb7660567d8bd32d82a39040e77824 Mon Sep 17 00:00:00 2001 From: Mitan Omar Date: Wed, 5 Jun 2024 10:02:57 +0200 Subject: [PATCH] fix(frontend): update remaining effort when changing estimated time --- frontend/app/projects/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/projects/controller.js b/frontend/app/projects/controller.js index 0210eef9c..844f151ab 100644 --- a/frontend/app/projects/controller.js +++ b/frontend/app/projects/controller.js @@ -145,7 +145,7 @@ export default class ProjectsController extends Controller { updateRemainingEffort(changeset) { if ( changeset.get("project.remainingEffortTracking") && - !changeset.get("mostRecentRemainingEffort") + this.selectedTask.isNew ) { changeset.set( "mostRecentRemainingEffort",