From 4ce962ef57aa381a709f02d565176b82499f0cb9 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Wed, 31 Mar 2021 21:30:16 -0400 Subject: [PATCH] fix unintentionally long abbreviations --- lib/philomena_web/views/profile_view.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/philomena_web/views/profile_view.ex b/lib/philomena_web/views/profile_view.ex index f0260bf8..682d853e 100644 --- a/lib/philomena_web/views/profile_view.ex +++ b/lib/philomena_web/views/profile_view.ex @@ -117,7 +117,9 @@ defmodule PhilomenaWeb.ProfileView do nil list -> - Enum.join(list) + list + |> Enum.take(4) + |> Enum.join() end end