# Bug SPPM-77 - Switching public state should also change the empty state

Project: Stream Project Portfolio Management
Status: closed
URL: https://community.openproject.org/work_packages/SPPM-77

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.4.0 |
| Observed in versions | 14.3.0 |
| Bug found in version (deprecated) | 14.3.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

Currently when switching from private to public, the empty state of the list is not updated. We have added https://github.com/primer/view\_components/pull/2964 to support loading turbo responses, so this is now possible.

  

Steps to reproduce:

*   Be a user that is allowed to manage public project lists (i.e. admin)
    
*   Create a project list
    
*   Open the share modal
    
    *   The empty state shows:  
        <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/119041/content">
        
*   Make the list public using the toggle button
    
    *   Now the empty state should switch to:  
        <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/119042/content">
        

In the current version before applying this bug fix, the empty state does not change, in the version with the bug fix, the empty state changes.
