Support for Multiple Chart Regions

This commit is contained in:
Shiny Nematoda
2022-10-02 14:24:08 +00:00
parent 3b26dd2f07
commit c391a425be
6 changed files with 51 additions and 22 deletions
+6 -2
View File
@@ -205,7 +205,7 @@ func NavigationButton(s gjson.Result) []Item {
return r
}
func MultiSelectMenuItemRenderer(j gjson.Result) []Item {
func MultiSelectMenuItemRenderer(j, ref gjson.Result) []Item {
r := []Item{}
@@ -219,8 +219,12 @@ func MultiSelectMenuItemRenderer(j gjson.Result) []Item {
go func() {
defer wg.Done()
steg := v.Get("formItemEntityKey").String()
id := ref.Get("#(entityKey == " + steg + ")" +
".payload.musicFormBooleanChoice.opaqueToken")
r = append(r, Item{
Id: v.Get("selectedCommand.commandExecutorCommand.commands.#(musicBrowseFormBinderCommand).musicBrowseFormBinderCommand.browseEndpoint.params").String(),
Id: id.String(),
Title: RunsText(v.Get("title")),
})
}()