mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
ui: show address and properly depend on Checks
This commit is contained in:
parent
452cad725a
commit
3e8f823a0b
@ -233,7 +233,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-handlebars" id="node">
|
<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>
|
<hr>
|
||||||
|
|
||||||
<h5>Checks</h5>
|
<h5>Checks</h5>
|
||||||
|
@ -46,7 +46,7 @@ App.Node = Ember.Object.extend({
|
|||||||
//
|
//
|
||||||
failingChecks: function() {
|
failingChecks: function() {
|
||||||
return this.get('Checks').filterBy('Status', 'critical').get('length');
|
return this.get('Checks').filterBy('Status', 'critical').get('length');
|
||||||
}.property('failingChecks'),
|
}.property('Checks'),
|
||||||
|
|
||||||
//
|
//
|
||||||
// The number of passing checks within the service.
|
// The number of passing checks within the service.
|
||||||
@ -104,7 +104,6 @@ App.Key = Ember.Object.extend({
|
|||||||
|
|
||||||
grandParentKey: function() {
|
grandParentKey: function() {
|
||||||
var parts = this.get('keyParts').toArray();
|
var parts = this.get('keyParts').toArray();
|
||||||
console.log(parts)
|
|
||||||
|
|
||||||
parts.pop();
|
parts.pop();
|
||||||
parts.pop();
|
parts.pop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user