mWater / mwater-forms

Forms controls for mWater
GNU Lesser General Public License v3.0
3 stars 5 forks source link

previous data in response view #196

Closed broncha closed 7 years ago

broncha commented 7 years ago

195

grassick commented 7 years ago

Storybook crashes immediately:

Cannot read property '92903cdbfd554539ac2bf6063c8a8bcb' of undefined
TypeError: Cannot read property '92903cdbfd554539ac2bf6063c8a8bcb' of undefined
    at ResponseAnswersComponent.module.exports.ResponseAnswersComponent.renderQuestion (http://localhost:6009/static/preview.bundle.js:89222:46)
    at ResponseAnswersComponent.module.exports.ResponseAnswersComponent.renderItem (http://localhost:6009/static/preview.bundle.js:89418:19)
    at http://localhost:6009/static/preview.bundle.js:89299:24
broncha commented 7 years ago

Oh, I had not fixed the story, prevData is now the entire row of the archive. Earlier that was only the data. Fixed!

grassick commented 7 years ago

Thanks for the work! All merged. I did some tweaking of UI.