From 364676aeac1c6e66a15e2f5ebd33846541210f9f Mon Sep 17 00:00:00 2001 From: earthcomfy Date: Fri, 30 Sep 2022 22:44:36 +0300 Subject: [PATCH] fix: Hide delete inactive timers button if there are no entries --- core/templates/core/timer_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/core/timer_list.html b/core/templates/core/timer_list.html index 8043d38e..30c69e00 100644 --- a/core/templates/core/timer_list.html +++ b/core/templates/core/timer_list.html @@ -63,7 +63,7 @@ {% include 'babybuddy/paginator.html' %} - {% if perms.core.delete_timer %} + {% if object_list and perms.core.delete_timer %} {% trans "Delete Inactive Timers" %}