From e4be74ca87d55d1d51d2f5d4967dbbdeb10ad981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Sun, 17 Mar 2024 21:39:59 +0100 Subject: [PATCH] fix(dashboard): do not show globally hidden feed entries --- packages/dashboard/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dashboard/default.nix b/packages/dashboard/default.nix index 1f82596..ea6a104 100644 --- a/packages/dashboard/default.nix +++ b/packages/dashboard/default.nix @@ -193,7 +193,7 @@ | ${jq}/bin/jq -r ' .total as $total | ( .entries - | map("\(.feed.category.title) \u001b[32m\(.author)\u001b[0m \(.title)") + | map(select(.feed | .hide_globally| not) | "\(.feed.category.title) \u001b[32m\(.author)\u001b[0m \(.title)") | join("\n") )' '';