mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
I am SPECIAL
This commit is contained in:
parent
49547108a3
commit
7bc51f9b46
1 changed files with 0 additions and 2 deletions
|
@ -121,9 +121,7 @@ defmodule PhilomenaWeb.TagView do
|
||||||
defp names_in_tab("shorthand", data) do
|
defp names_in_tab("shorthand", data) do
|
||||||
data
|
data
|
||||||
|> Enum.map(fn [_title, tags] -> tags end)
|
|> Enum.map(fn [_title, tags] -> tags end)
|
||||||
|> IO.inspect(label: "after map")
|
|
||||||
|> Enum.flat_map(&Enum.map(&1, fn [_shorthand, tag] -> tag end))
|
|> Enum.flat_map(&Enum.map(&1, fn [_shorthand, tag] -> tag end))
|
||||||
|> IO.inspect(label: "after flatmap")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
defp names_in_tab(_mode, _data), do: []
|
defp names_in_tab(_mode, _data), do: []
|
||||||
|
|
Loading…
Reference in a new issue