From 2c98da58b32724683fd013b6e91ebc06355c32eb Mon Sep 17 00:00:00 2001 From: Amadeus Mader Date: Sun, 1 Mar 2026 23:01:15 +0100 Subject: [PATCH] fix: typo --- .../controllers/pages/page_html/history_table_live.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex b/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex index d8c2cf6..131ce41 100644 --- a/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex +++ b/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex @@ -6,7 +6,9 @@ defmodule Pinchflat.Pages.HistoryTableLive do alias Pinchflat.Utils.NumberUtils alias PinchflatWeb.CustomComponents.TextComponents - @limit System.get_env("PAGINATION_HISTORY_LIMIT", System.get_env("PAGINATION_LIMIT", "10")) |> String.to_integer() def render(%{records: []} = assigns) do + @limit System.get_env("PAGINATION_HISTORY_LIMIT", System.get_env("PAGINATION_LIMIT", "10")) |> String.to_integer() + + def render(%{records: []} = assigns) do ~H"""
<.icon_button icon_name="hero-arrow-path" class="h-10 w-10" phx-click="reload_page" />