'Current slot' and 'Current status' css class not set

Created on 24 January 2024, 12 months ago
Updated 11 February 2024, 11 months ago

Problem/Motivation

The problem is that classes are not being assigned to the current status. I decided to color the current status red and green depending on open or closed so I copied over the twig file to make some edits of my own and looking at the code, it appears that that was the intention from the start. However classes are not being set. the variables for open | closed are being set but the attributes are null. Neither my testing nor my live work with:
attributes.addClass(classes)
So I manually created the statement as follows temporarily:
<div class="{{ classes }}">

I am not sure why these are not working. I am not very skilled in twig but it seems that this twig file is not getting the code needed to set these classes like the other twig files.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.12

Component

Code - formatter

Created by

πŸ‡ΊπŸ‡ΈUnited States calebwalker

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

Comments & Activities

Production build 0.71.5 2024