# Bug OP-7379 - Custom action button not removed when condition is no longer met

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.0.0 |
| Observed in versions | 10.6.0 |
| Sprint | 11.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.6.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.openproject-edge.com

### **Steps to reproduce:**

1.  Change status of work package so that custom action would no longer be displayed.
2.  Hover over custom action button.

### **Actual Behavior**

Custom action button only disappears when hovering over button.

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

### **Expected Behavior**

Custom action button disappears when condition for custom action is no longer met.
