diff --git a/resources/views/commissionpresets/create.blade.php b/resources/views/commissionpresets/create.blade.php index db531a71..3b38f140 100644 --- a/resources/views/commissionpresets/create.blade.php +++ b/resources/views/commissionpresets/create.blade.php @@ -101,7 +101,7 @@ class="shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:t
@include('livewire.image-upload', [ - 'current_url' => $commissionPreset?->image_url(), + 'current_url' => isset($commissionPreset) ? $commissionPreset?->image_url() : null, 'title' => 'Cover photo', 'name' => 'image' ])