craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.29k stars 638 forks source link

[5.x]: Duplicate entry type icon displaying on cards inside matrix field #16234

Open wearereeds opened 1 day ago

wearereeds commented 1 day ago

What happened?

Description

When selecting to show 'Entry Type' on a card which has a icon assigned, the displayed card inside a matrix shows the icon twice.

Image

Steps to reproduce

  1. Create Entry Type
  2. Assign Icon To Entry Type
  3. Select 'Entry Type' in Card Attributes
  4. Assign Entry Type To A Matrix Field
  5. Set Matrix Field To Display Cards
  6. Create New Entry In Matrix Field

Expected behavior

Actual behavior

Craft CMS version

5.5

PHP version

8.4

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

-

i-just commented 9 hours ago

Hi, thanks for reporting! I raised a PR for this.