Skip to content

Commit

Permalink
[statusPage] remove "service" naming
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Jun 15, 2016
1 parent fe67508 commit 8cb1694
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/plugins/status_page/public/status_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ <h4 ng-if="!ui.statuses && !ui.loading" class="missing_statuses">
No status information available
</h4>

<table class="status_statuses_breakdown" ng-if="ui.statuses.services">
<table class="status_statuses_breakdown" ng-if="ui.statuses.generic">
<tr class="row">
<th class="col-xs-4">Service</th>
<th class="col-xs-4">ID</th>
<th class="col-xs-8">Status</th>
</tr>
<tr
ng-repeat="status in ui.statuses.services"
ng-repeat="status in ui.statuses.generic"
class="status_row status_state_default status_state_{{status.state}} row">

<td class="col-xs-4 status_name">{{status.id}}</td>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/status_page/public/status_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const chrome = require('ui/chrome')
ui.metrics = data.metrics;
ui.name = data.name;

ui.statuses = _.groupBy(data.status.statuses, s => s.plugin ? 'plugins' : 'services');
ui.statuses = _.groupBy(data.status.statuses, s => s.plugin ? 'plugins' : 'generic');
if (!_.size(ui.statuses)) ui.statuses = null;

const overall = data.status.overall;
Expand Down

0 comments on commit 8cb1694

Please sign in to comment.