diff --git a/lib/microwaveprop_web/live/backfill_live.ex b/lib/microwaveprop_web/live/backfill_live.ex index 3bb71f53..5d776266 100644 --- a/lib/microwaveprop_web/live/backfill_live.ex +++ b/lib/microwaveprop_web/live/backfill_live.ex @@ -31,6 +31,7 @@ defmodule MicrowavepropWeb.BackfillLive do assign(socket, page_title: "Backfill", limit: limit, + types: MapSet.new(~w(hrrr weather terrain iemre)), stats: stats, unprocessed: unprocessed, db_stats: db_stats, @@ -56,7 +57,10 @@ defmodule MicrowavepropWeb.BackfillLive do |> BackfillEnqueueWorker.new() |> Oban.insert() - {:noreply, socket |> assign(enqueuing: true, limit: limit) |> LiveStash.stash_assigns([:limit])} + {:noreply, + socket + |> assign(enqueuing: true, limit: limit, types: MapSet.new(types)) + |> LiveStash.stash_assigns([:limit])} end @impl true @@ -351,7 +355,13 @@ defmodule MicrowavepropWeb.BackfillLive do
<%= for type <- ~w(hrrr weather terrain iemre) do %> <% end %>