#83 - make proposal step optional

This commit is contained in:
isUnknown 2025-01-07 11:54:53 +01:00
parent cf0d4b7c6f
commit 272a5898fe
2 changed files with 8 additions and 2 deletions

View file

@ -4,11 +4,17 @@ image:
back: black
color: white
query: false
status:
draft:
label: Désactivée
unlisted: false
listed: true
label: Activée
options:
delete: false
changeTitle: false
changeTemplate: false
changeStatus: false
changeStatus: true
changeSlug: false
move: false
duplicate: false

View file

@ -4,7 +4,7 @@ $project = [
'url' => $page->url(),
'modified' => $page->modified('Y-MM-d'),
'status' => $page->status(),
'logo' => $page->client()->toPage()->logo()->toFile()->url(),
'logo' => $page->client()->isNotEmpty() && $page->client()->toPage() ? $page->client()->toPage()->logo()->toFile()->url() : null,
'steps' => $page->getSteps(),
];