# Bug SPPM-48 - Hide the "Add project attribute" button on the settings admin when sections are empty

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project attributes, Administration |
| Target versions | 16.2.0 |
| Observed in versions |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Tobias Dillmann |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as an admin and go to the project attributes admin settings.
2.  Delete all the sections.
3.  The &quot;+ Project attribute&quot; button is still enabled.

### What is the buggy behaviour?

*   Having the &quot;+ Project attribute&quot; button enabled when the sections are empty on the project attributes admin settings is confusing, because without a section the project attribute cannot be created.

### What is the expected behavior?

1.  Hide the &quot;+ Project attribute&quot; button if there are no sections in the project attributes admin settings.

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/95586/content">

###
