Skip to content

Commit

Permalink
Also fetch metadata when loading nested photos
Browse files Browse the repository at this point in the history
  • Loading branch information
inukshuk committed Mar 22, 2017
1 parent aa7adbe commit b1b68f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/commands/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ class Load extends Command {
), items)

if (missing.length) {
yield put(act.photo.load(missing))
yield [
put(act.photo.load(missing)),
put(act.metadata.load(missing))
]
}

return items
Expand Down

0 comments on commit b1b68f2

Please sign in to comment.