client brief : fix validate button display

This commit is contained in:
isUnknown 2024-11-22 09:39:59 +01:00
parent 3f0b29d2d3
commit bb44f7727e

View file

@ -35,7 +35,7 @@ class ProjectPage extends Page {
'slug' => $child->slug(),
'index' => intval($child->stepIndex()->value()),
'modified' => $child->modified('Y-MM-dd'),
'isValidated' => (bool) $child->isValidated()->value() ?? false,
'isValidated' => $child->isValidated() == 'true' ? true : false,
'uri' => $uri,
'files' => $files,
];