Skip to content

Commit

Permalink
Fixed bug introduced in #13528
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <[email protected]>
  • Loading branch information
snipe committed Aug 30, 2023
1 parent 305804f commit 587a787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/models/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')])
Expand Down

0 comments on commit 587a787

Please sign in to comment.