Don't add 'Moderation Dashboard' link to toolbar if the view is disabled.

Created on 19 March 2024, 9 months ago
Updated 8 April 2024, 9 months ago

Problem/Motivation

I am working on a site that is not ready to go live with the views.view.moderation_dashboard.yml and it is disabled. This causes the be fatal error to be thrown.

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.moderation_dashboard.page_1" does not exist

Steps to reproduce

Disable the 'Moderation Dashboard' view via /admin/structure/views/view/moderation_dashboard

Proposed resolution

Don't add 'Moderation Dashboard' link to toolbar if the view is disabled.

Remaining tasks

Create MR
Review MR
Commit MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jrockowitz Brooklyn, NY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024