Skip to content

Commit

Permalink
Let developers install all their games without buying them (doy). Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime authored and Mrmaxmeier committed Dec 18, 2015
1 parent 624a002 commit 862d384
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/components/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,12 @@ class LibraryContent extends Component {
}

let index_by = (acc, k, v) => mori.assoc(acc, mori.get(v, 'id'), true)
let owned_games_by_id = mori.reduceKV(index_by, mori.hashMap(), mori.get(games, 'owned'))
let owned_games_by_id = mori.reduceKV(index_by, mori.hashMap(),
mori.merge(
mori.get(games, 'dashboard'),
mori.get(games, 'owned')
)
)

let children = []

Expand Down

0 comments on commit 862d384

Please sign in to comment.