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