# Bug OP-7064 - Logged time widget does not update correctly

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-7064

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.6.0 |
| Observed in versions |  |
| Sprint | 10.6.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Steps to reproduce:**

1.  Go to My Page
2.  Add Spent Time widget
3.  If there is no time entry yet, add one.
4.  Click on the displayed time entry to edit it
5.  In the modal, change the value and press enter.
6.  Afterwards click on &quot;Save&quot;

### **Actual Behavior**

*   Pressing Enter saves the value, but when I press &quot;Save&quot; there is still the old value shown in the diagram
    *   After a reload, the diagram is shown correctly
*   When pressing &quot;Cancel&quot; instead of &quot;Save&quot;, the diagram is shown correctly with the new value

![](/api/v3/attachments/17871/content)

### **Expected Behavior**

*   The diagram should be updated when accordingly when the value changes, independent of the button I press.
