Empty blocks get displayed

Created on 16 May 2022, over 2 years ago
Updated 6 May 2024, 7 months ago

Problem/Motivation

Until 1.7, empty menus were not displayed as blocks because blockAccess() would block them. In 1.8, this method was removed and we get empty blocks for menus without any items.

Steps to reproduce

Create a block without any items and display it as a block.

Proposed resolution

Reintroduce blockAccess() to remove such blocks.

🐛 Bug report
Status

Needs review

Version

1.8

Component

Code

Created by

🇷🇴Romania abautu

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024