forked from hiway/freedive
Fix handle_continue
This commit is contained in:
parent
b522b3381f
commit
e180aa8248
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ defmodule Freedive.Api.Service do
|
||||||
|> Enum.map(fn {name, service} ->
|
|> Enum.map(fn {name, service} ->
|
||||||
{name, Map.put(service, :icon, icon_for_service(name))}
|
{name, Map.put(service, :icon, icon_for_service(name))}
|
||||||
end)
|
end)
|
||||||
|> Enum.into(%{}, &{&1[:name], &1})
|
|> Enum.into(%{})
|
||||||
state = %{state | services: services}
|
state = %{state | services: services}
|
||||||
{:noreply, state}
|
{:noreply, state}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue