Fixed bug introduced in #13528

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-08-30 15:50:28 +01:00
parent 305804f260
commit 587a787b5d

View file

@ -35,7 +35,7 @@
<!-- Custom Fieldset -->
<!-- If $item->id is null we are cloning the model and we need the $model_id variable -->
@livewire('custom-field-set-default-values-for-model',["model_id" => ($item->id) ? $item->id : $model_id])
@livewire('custom-field-set-default-values-for-model',["model_id" => $item->id ?? $model_id ?? null ])
@include ('partials.forms.edit.notes')
@include ('partials.forms.edit.requestable', ['requestable_text' => trans('admin/models/general.requestable')])