-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got the result page working with the database
- Loading branch information
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awesome to see you making progress here, @kchengtoo!
When I tested it, I didn't see the image element. To fix, I wonder if you need to more specifically pass the image to the displayImage function, rather than sub.
From my first guess I wonder if you'd need to do something like
{{> Template.dynamic template="displayImage" data=(getImage sub)}}
where
getImage
is a helper function that returns the matching image data (fromthis.images
) for the submission (sub.content.proof
)?