From 8133b2c66556e5df4ee19828f819fd608f66cc0c Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Sat, 28 Sep 2024 01:02:13 +0100 Subject: [PATCH] remove undefined rule name & add todo --- apps/home/static/home/js/tabs/subs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/home/static/home/js/tabs/subs.js b/apps/home/static/home/js/tabs/subs.js index b0bc943..8d7c94d 100644 --- a/apps/home/static/home/js/tabs/subs.js +++ b/apps/home/static/home/js/tabs/subs.js @@ -34,7 +34,7 @@ function initSubscriptionsModule() { render: function(data, type) { let badges = $("
"); data.forEach(function(rule, idx) { - let badge = $(`${rule.name}`) + let badge = $(`${rule}`) // TODO: translate to rule.name if (idx > 0) { badge.addClass("ms-2") } badges.append(badge); });