From 3051e8dddc0b4fecee1f9b7fe5895199690718e5 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 14 Feb 2025 16:44:51 +0000 Subject: [PATCH] Don't show draft palettes in the switcher --- core/wiki/paletteswitcher.tid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/wiki/paletteswitcher.tid b/core/wiki/paletteswitcher.tid index e79c0aabe..f9f663bc1 100644 --- a/core/wiki/paletteswitcher.tid +++ b/core/wiki/paletteswitcher.tid @@ -3,7 +3,7 @@ title: $:/snippets/paletteswitcher \whitespace trim <$linkcatcher to="$:/palette">
-<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]"> +<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]!is[draft]sort[name]]"> <$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
>> <$link to={{!!title}}>