Projects with disabled progress cannot be opened
xverges opened this issue · 3 comments
xverges commented
The browser console displays
TypeError: d.toFixed is not a functionProjectAnalysis.js:150:62
onejgordon commented
Thanks for the report @xverges Would it be possible to provide the project ID causing the issue? You can see this as the project_id
parameter in the API call when you open the project detail. I suspect it's an edge case related to project timestamps, but not sure yet.
xverges commented
This was sent as a POST to https://flowdash.co/api/project (I think that when I enabled tracking again)
{
"project": {
"subhead": null,
"complete": false,
"progress_ts": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"ts_archived": 1589705373514,
"ts_created": 1583091978978,
"id": 5745188240621568,
"archived": false,
"milestones": [],
"title": "Dashboard to Python3",
"due": null,
"ts_completed": 1589705373514,
"urls": [
"https://github.com/xverges/flow-dashboard"
],
"progress": 0,
"starred": false
},
"message": null,
"success": true
}
onejgordon commented
Thank you! I've reproduced, fix coming.