From 092d4c64ff549b826905435fd3c89006b0996c39 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 12 Jan 2023 07:20:48 +0000 Subject: [PATCH] Don't show None to the user if no topic is set --- core/templates/partials/rule-list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates/partials/rule-list.html b/core/templates/partials/rule-list.html index fd18dbd..1f486cf 100644 --- a/core/templates/partials/rule-list.html +++ b/core/templates/partials/rule-list.html @@ -23,7 +23,7 @@ {{ item.user }} {{ item.name }} {{ item.priority }} - {{ item.topic }} + {{ item.topic|default_if_none:"—" }} {% if item.enabled %}