git ssb

0+

Piet / ssb-loomio



Commit 1e933ab63d7c182250e5e708bcf30b1b752205aa

Add note about ugly code

Piet Geursen committed on 6/6/2018, 1:56:12 AM
Parent: 048321cc6c9ebaeaf4431e5123f1c9afcfbecb6f

Files changed

poll/obs/get.jschanged
poll/obs/get.jsView
@@ -23,9 +23,9 @@
2323 const time = times.pop()
2424 return time ? time.value.content.closesAt : ''
2525 })
2626
27- // TODO; what do here?
27+ // This is ugly, would all be done by pollDoc. Refactor in the future.
2828 const pollObs = Value({})
2929
3030 const results = computed(sortedPositions, (positions) => {
3131 const resultsErrors = buildResults({ poll: resolve(pollObs), positions })

Built with git-ssb-web