# Bug OP-6182 - Second click on "All open" view doesn't reset the view toggle button

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.0.0 |
| Observed in versions | 10.5.0 |
| Sprint | 10.0.0 |
| 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**:

Your OpenProject Version: community

Operating System / Browser / Language: FF

### **Steps to reproduce:**

1.  Go into a project
2.  In &quot;Work packages&quot; module click on the &quot;All open&quot; view
3.  Use the view toggle to activate Gantt
4.  Click the &quot;All open&quot; view again

### **Actual Behavior**

The view toggle button still shows &quot;Gantt&quot;. The Gantt view is not active.

### **Expected Behavior**

The view toggle button shows  &quot;Table&quot;. The Gantt view is not active.
