git ssb

0+

Piet / ssb-loomio



Commit 499687916fec256f9f5439cc8479674da2ce180d

Adds reason to position

Piet Geursen committed on 5/4/2018, 12:21:45 AM
Parent: 93f07a763a343ca82ca09a11f97e03eeef7e4283

Files changed

poll/async/get.jschanged
poll/async/get.jsView
@@ -115,8 +115,9 @@
115115 var poll = getContent(rawPoll)
116116
117117 // NOTE this isn't deep enough to be a safe clone
118118 var newPosition = Object.assign({}, rawPosition)
119+ newPosition.reason = position.reason
119120
120121 if (isPoll.chooseOne(poll)) {
121122 var choiceIndex = position.details.choice
122123 newPosition.choice = poll.details.choices[choiceIndex]

Built with git-ssb-web