fix: restarting container state on ui

This commit is contained in:
Andras Bacsai 2023-09-15 13:44:41 +02:00
parent 27926322e1
commit fcf7c5ddd5

View File

@ -1,8 +1,8 @@
@props([
'text' => 'Stopped',
'text' => 'Restarting',
])
<x-loading wire:loading.delay />
<div class="flex items-center gap-2" wire:loading.remove.delay.longer>
<div class="badge badge-error badge-xs"></div>
<div class="text-xs font-medium tracking-wide text-error">{{ $text }}</div>
<div class="badge badge-warning badge-xs"></div>
<div class="text-xs font-medium tracking-wide text-warning">{{ $text }}</div>
</div>