# Bug OP-7001 - Arrow next to parent task still shown after removing subtask

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.6.3 |
| Observed in versions | 10.5.0 |
| Sprint | 10.6.3 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.5.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**:

qa-edge

Firefox

### **Steps to reproduce:**

1.  Go to work package page.
2.  Open task in split screen.
3.  Add existing work package as subtask.
4.  Remove sub task.

### **Actual Behavior**

Expand / collapse arrow still shown next to (former) parent work package even though it has no sub tasks anymore (page reload resolves issue):

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

### **Expected Behavior**

Arrow removed.
