# Bug OP-18372 - News widget is also shown if module is deactivated

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project overview, Modules and project features / News |
| Target versions | 17.0.0 |
| Observed in versions |  |
| Sprint | 17.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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 | Alexander Coles |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

The widget should only be visible if the module is active

### Notes for QA

**The bug fix should also handle the following scenario without causing major rendering issues (e.g. blank page, redirect)\***:

  - enable the News module for a Project

  - navigate to the Project Dashboard page (NOT OVERVIEW)

  - add the News widget to the Dashboard

  - disable the News module for the same Project

  - go back to the Project Dashboard page.

  - *The News widget will be shown, but with no content - WP for displaying something meaningful:  <mention class="mention" data-id="70293" data-type="work_package" data-text="##70293">\#\#70293</mention>*
