Browse Source

ui: show address and properly depend on Checks

pull/98/head
Jack Pearkes 11 years ago
parent
commit
3e8f823a0b
  1. 2
      ui/index.html
  2. 3
      ui/javascripts/app/models.js

2
ui/index.html

@ -233,7 +233,7 @@
</script>
<script type="text/x-handlebars" id="node">
<h2 class="no-margin">{{ model.Node.Node }}</h2>
<h2 class="no-margin">{{ model.Node.Node }} <small> {{ model.Node.Address }}</small></h2>
<hr>
<h5>Checks</h5>

3
ui/javascripts/app/models.js

@ -46,7 +46,7 @@ App.Node = Ember.Object.extend({
//
failingChecks: function() {
return this.get('Checks').filterBy('Status', 'critical').get('length');
}.property('failingChecks'),
}.property('Checks'),
//
// The number of passing checks within the service.
@ -104,7 +104,6 @@ App.Key = Ember.Object.extend({
grandParentKey: function() {
var parts = this.get('keyParts').toArray();
console.log(parts)
parts.pop();
parts.pop();

Loading…
Cancel
Save