ivanvanderbyl / ember-hackernews-pwa

An Ember implementation of the HackerNews client as a Progressive Web App
https://hackernews.io
62 stars 14 forks source link

Guard against items null scores and job items #9

Closed kiwi-josh closed 6 years ago

kiwi-josh commented 7 years ago

Some posts don't yet have points. Then this happens the UI renders null points. This PR guards against this situation by defaulting null values to 0.

It also only displayed the posted date for a job item, as they don't ever seem to have a by or score.

ivanvanderbyl commented 6 years ago

@wytlytningNZ thanks mate 👍