I am SPECIAL

This commit is contained in:
Luna D 2020-10-20 23:19:44 +02:00
parent 49547108a3
commit 7bc51f9b46
No known key found for this signature in database
GPG key ID: 81AF416F2CC36FC8

View file

@ -121,9 +121,7 @@ defmodule PhilomenaWeb.TagView do
defp names_in_tab("shorthand", data) do
data
|> Enum.map(fn [_title, tags] -> tags end)
|> IO.inspect(label: "after map")
|> Enum.flat_map(&Enum.map(&1, fn [_shorthand, tag] -> tag end))
|> IO.inspect(label: "after flatmap")
end
defp names_in_tab(_mode, _data), do: []