Typo in views-view component twig utility classes

Created on 22 April 2024, 12 months ago
Updated 6 May 2024, 11 months ago

Problem/Motivation

Radix 6.0.0-beta14 introduces a typo in the views-view component (twig file):

Before (beta13):

{%
  set classes = [
    'view',
    'view-' ~ id|clean_class,
    'view-id-' ~ id,
    'view-display-id-' ~ display_id,
    dom_id ? 'js-view-dom-id-' ~ dom_id,
    css_name ? 'view-' ~ css_name,
  ]|merge(view_view_utility_classes ? view_view_utility_classes : [])
%}

After (beta14, 15, 16, dev):

{%
  set views_classes = [
    'view',
    'view-' ~ id|clean_class,
    'view-id-' ~ id,
    'view-display-id-' ~ display_id,
    dom_id ? 'js-view-dom-id-' ~ dom_id,
    css_name ? 'view-' ~ css_name,
  ]|merge(view_view_utility_utility_classes ?: [])
%}

Mind the view_view_utility_classes changed to view_view_utility_utility_classes with double 'utility'

πŸ› Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡«πŸ‡·France PhilY πŸ‡ͺπŸ‡ΊπŸ‡«πŸ‡· Paris, France

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