mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-10 12:30:15 +00:00
🛠️ Add safe navigation operator and fallback handling for null profiles in project proposal blade template
This commit is contained in:
@@ -150,7 +150,7 @@ $handleNotApprove = function () {
|
||||
</a>
|
||||
<div class="text-sm whitespace-nowrap">Eingereicht von
|
||||
<div
|
||||
class="font-semibold text-gray-800 dark:text-gray-100">{{ $projectProposal->einundzwanzigPleb->profile->name }}</div>
|
||||
class="font-semibold text-gray-800 dark:text-gray-100">{{ $projectProposal->einundzwanzigPleb?->profile->name ?? str($projectProposal->einundzwanzigPleb)->limit(32) }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Right side -->
|
||||
|
||||
Reference in New Issue
Block a user