Show 'processing' instead of '1 job in queue'

This commit is contained in:
Graham McIntire 2026-04-02 16:46:32 -05:00
parent f9c6e3730a
commit 78bc577824
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -358,8 +358,8 @@ defmodule MicrowavepropWeb.ContactLive.Show do
defp queue_info(counts, queue) do
case Map.get(counts, queue, 0) do
0 -> ""
1 -> "(1 job in queue)"
n -> "(#{n} jobs in queue)"
1 -> "(processing)"
n -> "(#{n} jobs ahead)"
end
end