Blocks Admin Label is blank.

Created on 28 November 2023, 7 months ago
Updated 29 November 2023, 7 months ago

Problem/Motivation

When installing the module then going to place a block all the admin labels for the blocks are empty.

Proposed resolution

In ComponentBlockDeriver there is the line where it sets the admin label:

$definition['admin_label'] = $definition['admin_label'] ?? $component->metadata->name;

The issue is the inline condition like that checks if the value of $definition['admin_label'] is null or undefined but for me it's coming across as an empty string. I don't see anywhere where a user could alter the admin label that would show in that list so I think removing that condition would be fine.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States josh.fabean

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

Merge Requests

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.69.0 2024