# Bug OP-19078 - Wrong icon used when changing non working days

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system / Danger zone, Frontend components and Primer design system |
| Target versions | 17.6.0 |
| Observed in versions | 17.3.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.3.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 | Behrokh Satarnejad |
| 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

2.  Go to Administration \> Calendar and dates \> Working days and hours

3.  Add a new non working day

4.  Click on 'Apply changes'

### What is the buggy behaviour?

  - Change working days modal shows the wrong icon on CTA

### What is the expected behavior?

  - Use a primer DangerDialog
    
      - No icons at all
    
      - Keep the current texts

### 

### Screenshot

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

### Environment information

**OpenProject version**

Core build

[dfa7cb5f556b7f663ae2bcd2e909df5dfb2f5dfa](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2Fdfa7cb5f556b7f663ae2bcd2e909df5dfb2f5dfa)

Product version

[24cf667cb17bfffdf60deff718d485983e7ee394](https://qa.openproject-edge.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2F24cf667cb17bfffdf60deff718d485983e7ee394)

Core version

OpenProject 17.3.0

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
