Skip to content
Permalink
Browse files
Set family members even when they're empty (Fixes: #19739)
  • Loading branch information
RaphaelBergmann committed Mar 1, 2017
1 parent 61dfcd6 commit 7dd7005ae3bdb9cff5eade61760af58496c050d7
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/models/relay.js
@@ -159,9 +159,9 @@ define([
relay.obandwidth = relay.observed_bandwidth ? hrBandwidth(relay.observed_bandwidth) : null;
relay.bandwidth = relay.advertised_bandwidth ? relay.advertised_bandwidth : null;
relay.bandwidth_hr = relay.advertised_bandwidth ? hrBandwidth(relay.advertised_bandwidth) : null;
relay.effective_family = relay.effective_family ? relay.effective_family : null;
relay.alleged_family = relay.alleged_family ? relay.alleged_family : null;
if(relay.alleged_family || relay.effective_family) {
relay.effective_family = relay.effective_family ? relay.effective_family : null;
relay.alleged_family = relay.alleged_family ? relay.alleged_family : null;
relay.empty_family = false;
} else {
relay.empty_family = true;

0 comments on commit 7dd7005

Please sign in to comment.