fix: prevent event propagation on power management button to ensure proper modal functionality and enhance user interaction
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
</div>
|
||||
<span class="font-medium">{{ $status->name }}</span>
|
||||
</div>
|
||||
<div x-data="{ showPowerOffModal: false }">
|
||||
<div x-data="{ showPowerOffModal: false }" @click.stop>
|
||||
<button
|
||||
type="button"
|
||||
@click="
|
||||
@click.stop="
|
||||
@if($status->status == 'running')
|
||||
showPowerOffModal = true
|
||||
@else
|
||||
|
||||
Reference in New Issue
Block a user