mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Migrate to $dispatch
This commit is contained in:
parent
8ff639913d
commit
73e3ac7dd8
|
@ -14,7 +14,7 @@
|
|||
@endif
|
||||
|
||||
<a class="button button-small"
|
||||
wire:click="$emit('openModal')"
|
||||
wire:click="$dispatch('openModal')"
|
||||
onclick="$('#modal-create-client').modal('show');"
|
||||
>
|
||||
Create New Client
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="text-right" style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<a class="btn btn-info btn-sm action-link pull-right"
|
||||
onclick="$('#modal-create-token').modal('show');"
|
||||
wire:click="$emit('openModal')"
|
||||
wire:click="$dispatch('openModal')"
|
||||
>
|
||||
Create New Token
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue