From d6a80fa1fe88f465cc5814fbe8cc044f5ad5adc4 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Thu, 2 Feb 2023 00:31:19 +0530 Subject: [PATCH] fix: show next page link only when next_page is set --- templates/panel/campaigns/results.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/panel/campaigns/results.html b/templates/panel/campaigns/results.html index 53a6f54..0c0080a 100644 --- a/templates/panel/campaigns/results.html +++ b/templates/panel/campaigns/results.html @@ -64,7 +64,9 @@ {% endfor %} - Next > + {% if payload.next_page %} + Next > + {% endif %} {% endblock body %}