mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Added a condition to send correct model id when cloning one
This commit is contained in:
parent
26dd992d3c
commit
950536f59f
|
@ -33,6 +33,11 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@php
|
||||
if (is_null($item->id)){
|
||||
$item->id = $item->getOriginal('id');
|
||||
}
|
||||
@endphp
|
||||
<!-- Custom Fieldset -->
|
||||
@livewire('custom-field-set-default-values-for-model',["model_id" => $item->id])
|
||||
|
||||
|
|
Loading…
Reference in a new issue