$if null recentMedia
This gallery is still empty. $else $forall (Entity mediumId medium) <- recentMedia