What happened?
Description
This commit switched from checking for the presence of a status attribute to checking for the coerced boolean value of that attribute. As a result, rows with status: false now display in bold without the empty/white status indicator. This issue is present throughout most of the tables in Commerce, which use that Vue component. It causes those disabled items to have a weird and confusing display. I haven't found any instances in Craft core where a status is set on a VueAdminTable.
Steps to reproduce
- Create a disabled discount, sale, or shipping method in Craft Commerce
- View the index page for that item type
Expected behavior
The disabled item should display with normal font weight and an empty circle next to the name, indicating that it is disabled.
Actual behavior
It is in bold font, with no indicator circle, and the left margin is misaligned.
Craft CMS version
4.8.10
PHP version
4.5.4
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
This commit switched from checking for the presence of a
statusattribute to checking for the coerced boolean value of that attribute. As a result, rows withstatus: falsenow display in bold without the empty/white status indicator. This issue is present throughout most of the tables in Commerce, which use that Vue component. It causes those disabled items to have a weird and confusing display. I haven't found any instances in Craft core where a status is set on a VueAdminTable.Steps to reproduce
Expected behavior
The disabled item should display with normal font weight and an empty circle next to the name, indicating that it is disabled.
Actual behavior
It is in bold font, with no indicator circle, and the left margin is misaligned.
Craft CMS version
4.8.10
PHP version
4.5.4
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions