Skip to content

Commit

Permalink
ControlPanel Button: use tv-story-list variable (#6562)
Browse files Browse the repository at this point in the history
This PR makes the ControlPanel Button show as selected when the `tv-story-list` contains `$:/ControlPanel` in its list field
  • Loading branch information
BurningTreeC committed Mar 27, 2022
1 parent 6a5d73d commit e84acf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/ui/PageControls/controlpanel.tid
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit e84acf9

Please sign in to comment.