From 12349d7ec1bf3796535f6949bf8aa41dbcae6465 Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Wed, 24 Dec 2025 02:42:21 +0200 Subject: [PATCH] filter only accounts with an assigned labeller service --- examples/list_labellers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/list_labellers.rb b/examples/list_labellers.rb index aafda52..cce8b4b 100755 --- a/examples/list_labellers.rb +++ b/examples/list_labellers.rb @@ -163,10 +163,10 @@ class LabelBase def render_html # find accounts that we know about which are active (not deactivated) - # and which have a labeller record + # and which have a labeller record & service hostname list = @labellers - .select { |did, lab| lab.has_labeller && lab.active } + .select { |did, lab| lab.has_labeller && lab.active && lab.hostname } .sort_by { |did, lab| lab.handle } table_html = list.map { |did, lab| %( -- 2.51.2