1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,6 @@ description: {{$:/language/Buttons/ControlPanel/Hint}}
</$button> </$button>
\end \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">> <<control-panel-button "tc-selected">>
</$list> </$list>