format feed_view.ex
This commit is contained in:
parent
d3f22d24f6
commit
117a53b88e
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ def last_activity(activities), do: List.last(activities)
|
|||
|
||||
def activity_title(%{"content" => content} = data, opts \\ %{}) do
|
||||
summary = Map.get(data, "summary", "")
|
||||
|
||||
title =
|
||||
cond do
|
||||
summary != "" -> summary
|
||||
|
|
Loading…
Reference in a new issue