CodeforAustralia / heritage-near-me

🔎 Heritage Near Me web app prototype
23 stars 6 forks source link

on story view, show photo even if we only have one #124

Closed techieshark closed 8 years ago

techieshark commented 8 years ago

(Note, it looks like a bunch of lines changed because when I switched to using the let...in syntax it means the stuff in the in part of the clause gets indented a tab. I also added a little whitespace. But if you look closely, not that much has changed, just mainly:

else if screen == Body then

becomes:

else if screen == Body || (screen == Intro && numStories == 1) then