# Bug OP-9118 - Wrong number of unread notifications after clicking on "read"

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.0.0 |
| Observed in versions | 12.0.0 |
| Sprint | 12.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.0.x |
| 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

### **Environment**:

Your OpenProject Version: \<VERSION\> / Cloud Edition

Operating System / Browser / OpenProject language:

### **Logs**

Are there errors in the browser console? ([Click here for information on how to open your browser's console](https://webmasters.stackexchange.com/a/77337)) For a local installation: Are there relevant logs output by `openproject logs` (packaged installation) ([click here for details](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable

### **Steps to reproduce:**

1.  Go to notification center.
2.  Clicking on the mark as read button in the last notifcation on the last row.

### **Actual Behavior**

  - The row disappears.
  - The split view is still open.
  - The number is not updated in the header.

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22317/content"></div></figure>

### **Expected Behavior**

  - The badge in the header is updated.

**Out of scope**

  - The split view is closed.
  - The notification center is shown in an empty state.
