Skip to content

Commit

Permalink
$mol_view_tree2 fix kids
Browse files Browse the repository at this point in the history
  • Loading branch information
zerkalica committed Dec 4, 2023
1 parent 62d201e commit 0d1d667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scout.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace $.$$ {
@ $mol_mem
data() {
const text = $mol_fetch.text( 'hyoo/scout/_games.tree' )
const json = this.$.$mol_tree2_from_string( text ).kids.map( tree => this.$.$mol_tree2_to_json(tree.struct('*')) )
const json = this.$.$mol_tree2_from_string( text ).kids.map( tree => this.$.$mol_tree2_to_json(tree.struct('*', tree.kids)) )
return json as $hyoo_scout_gist[]
}

Expand Down

0 comments on commit 0d1d667

Please sign in to comment.