From efeaafc9b9c84ba066fa196e9e458828e1b65cb2 Mon Sep 17 00:00:00 2001 From: Trey Pendragon Date: Mon, 24 Feb 2025 08:36:02 -0800 Subject: [PATCH] Not right, but demo-able. --- lib/dpul_collections_web/live/browse_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpul_collections_web/live/browse_live.ex b/lib/dpul_collections_web/live/browse_live.ex index b9e8a4af..32c7f56f 100644 --- a/lib/dpul_collections_web/live/browse_live.ex +++ b/lib/dpul_collections_web/live/browse_live.ex @@ -73,7 +73,7 @@ defmodule DpulCollectionsWeb.BrowseLive do ) end - defp thumbnail_service_urls(max_thumbnails, image_service_urls, nil) do + defp thumbnail_service_urls(max_thumbnails, image_service_urls, _) do # Truncate image service urls to max value image_service_urls |> Enum.slice(0, max_thumbnails)