Skip to content

Commit

Permalink
silly bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermanlangner committed Apr 30, 2024
1 parent 1fdf887 commit 2938e5b
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions lib/exq_ui_web/live/components/nav_bar_component.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -12,43 +12,49 @@
</.link>
</li>
<li class="nav-item">
<.link navigate={Routes.dashboard_path(@socket)} class={nav_link_class(@socket, "Busy")}>
<.link
navigate={Routes.busy_index_path(@socket)}
class={nav_link_class(@socket, "Busy")}
>
Busy
</.link>
</li>
<li class="nav-item">
<.link
navigate={Routes.dashboard_path(@socket)}
navigate={Routes.queue_index_path(@socket)}
class={nav_link_class(@socket, "Queues")}
>
Queues
</.link>
</li>
<li class="nav-item">
<.link
navigate={Routes.dashboard_path(@socket)}
navigate={Routes.retry_index_path(@socket)}
class={nav_link_class(@socket, "Retries")}
>
Retries
</.link>
</li>
<li class="nav-item">
<.link
navigate={Routes.dashboard_path(@socket)}
navigate={Routes.scheduled_index_path(@socket)}
class={nav_link_class(@socket, "Scheduled")}
>
Scheduled
</.link>
</li>
<li class="nav-item">
<.link navigate={Routes.dashboard_path(@socket)} class={nav_link_class(@socket, "Dead")}>
<.link
navigate={Routes.dead_index_path(@socket)}
class={nav_link_class(@socket, "Dead")}
>
Dead
</.link>
</li>
<%= if Application.get_env(:exq_ui_fork, :exq_scheduler_name) do %>
<li class="nav-item">
<.link
navigate={Routes.dashboard_path(@socket)}
navigate={Routes.recurring_index_path(@socket)}
class={nav_link_class(@socket, "Recurring")}
>
Recurring
Expand Down

0 comments on commit 2938e5b

Please sign in to comment.