From a57d353473340b162e6f48f0033f803eafa152ac 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 b3dfd510d..fb11b026c 100644 --- a/frontend/app/projects/controller.js +++ b/frontend/app/projects/controller.js @@ -147,7 +147,7 @@ export default class ProjectsController extends Controller { updateRemainingEffort(changeset) { if ( changeset.get("project.remainingEffortTracking") && - !changeset.get("mostRecentRemainingEffort") + this.selectedTask.isNew ) { changeset.set( "mostRecentRemainingEffort",