1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-04-22 06:41:29 +00:00

ControlPanel Button: use tv-story-list variable (#6562)

This PR makes the ControlPanel Button show as selected when the `tv-story-list` contains `$:/ControlPanel` in its list field
This commit is contained in:
Simon Huber
2022-03-27 09:54:33 +02:00
committed by GitHub
parent 6a5d73dae6
commit e84acf97de

View File

@@ -16,6 +16,6 @@ description: {{$:/language/Buttons/ControlPanel/Hint}}
</$button>
\end
<$list filter="[list[$:/StoryList]] +[field:title[$:/ControlPanel]]" emptyMessage=<<control-panel-button>>>
<$list filter="[list<tv-story-list>] +[field:title[$:/ControlPanel]]" emptyMessage=<<control-panel-button>>>
<<control-panel-button "tc-selected">>
</$list>