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 08:54:33 +01:00
committed by GitHub
parent 6a5d73dae6
commit e84acf97de
+1 -1
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>