Fixed bug introduced in #13528

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-08-30 15:48:35 +01:00
parent 5cf8c36698
commit c0cbdb1fc4

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')])