jivesoftware/jive-sdk

[Bug] in "sampletile-activity"

Closed this issue · 1 comments

Problem

When using the intial demo an counter is shown as 'NaN'. See screenshots below.

Reproduce

just install the 'node create sampletile-activity' and install it.

exampleStore.json

{
  "count": {
    "key": "count",
    "count": null
  }
}

2014-10-15 10_42_34-space_ tilesfortest _ ubs connections

Possible solution

Replace null with 0 as initial value will fix it:

exampleStore.json

{
  "count": {
    "key": "count",
    "count": 0
  }
}

2014-10-15 10_55_30-space_ tilesfortest _ ubs connections

Super great, thanks for the solution @longstone