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