Fix job dispatch and show log output
All checks were successful
Deploy App / deploy (push) Successful in 11s

This commit is contained in:
2025-09-04 17:38:30 +02:00
parent 6a72b7150b
commit 1565df568d
7 changed files with 45 additions and 15 deletions

View File

@@ -10,7 +10,16 @@
</thead>
<tbody class="text-center">
@foreach ($logs as $log)
<tr>
<tr
class="hover:bg-zinc-700"
@if ($log->status === "failed")
wire:click="showError({{ $log->id }})"
style="cursor: pointer;"
@elseif ($log->status === "success")
wire:click="showOutput({{ $log->id }})"
style="cursor: pointer;"
@endif
>
<td class="px-4 py-2">
{{ $log->bot->name }}
</td>
@@ -21,10 +30,6 @@
"text-yellow-400" => $log->status === "pending",
]),
class="px-4 py-2"
@if ($log->status === "failed")
wire:click="showError({{ $log->id }})"
style="cursor: pointer;"
@endif
>
{{ $log->status }}
@if ($log->status === "failed")