Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

render Dates into Submission/Gallery Manager #554

Merged
merged 1 commit into from
Jul 26, 2016
Merged

render Dates into Submission/Gallery Manager #554

merged 1 commit into from
Jul 26, 2016

Conversation

riley
Copy link
Contributor

@riley riley commented Jul 25, 2016

What does this PR do?

fixes coralproject/ask#25

How do I test this PR?

  • select a gallery with some Date responses in it like {{cayHost}}/579672167bb36b00072d9c49/gallery
  • see that the Dates are rendered now instead of being blank

@coralproject/frontend

@riley riley changed the title style fixes. show as Date even if edited render Dates into Submission/Gallery Manager Jul 25, 2016
@kgardnr kgardnr added the ASK label Jul 25, 2016
@kgardnr kgardnr added this to the Ask Beta milestone Jul 25, 2016
@@ -57,9 +57,16 @@ export default class GalleryAnswer extends React.Component {
multipleChoice = this.renderMultipleChoice(answer);
}

const text = answer.answer.edited ? answer.answer.edited : answer.answer.answer.text;
let unedited = answer.answer.answer.value ? answer.answer.answer.value : answer.answer.answer.text;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Answers go deep in these objects!

@jde jde merged commit 852c79f into master Jul 26, 2016
@riley riley deleted the show-date branch July 26, 2016 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date answer not showing in submissions
3 participants