Add the Task dashboard button to access Oban dashboard.

dev
KKlochko 2 months ago
parent dff915e835
commit 90bacf8e37

@ -9,12 +9,20 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.Index do
~H"""
<.header>
Listing Servers
<:actions>
<div class="flex flex-row gap-2">
<.primary_button phx-click="sync">
Sync now
</.primary_button>
<div class="flex flex-row gap-2">
<.primary_button phx-click="sync">
Sync now
</.primary_button>
</div>
<div class="flex flex-row gap-2">
<.link patch={~p"/oban"}>
<.primary_button>
Task dashboard
</.primary_button>
</.link>
</div>
</div>
</:actions>
</.header>

Loading…
Cancel
Save