Skip to content

Commit

Permalink
fix status
Browse files Browse the repository at this point in the history
  • Loading branch information
ofabricio committed Nov 21, 2017
1 parent cb937ea commit e7cc764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const dashboardHTML = `
$scope.selected = item;
}
$scope.statusColor = item => {
let status = (item.response.status + '')[0] - 2;
let status = (item.status + '')[0] - 2;
return ['ok', 'warn', 'error', 'error'][status] || '';
}
Expand Down

0 comments on commit e7cc764

Please sign in to comment.