ensure primary cluster information displays on initial page load (#9329)
This commit is contained in:
parent
16070564cb
commit
ae821b2600
|
@ -56,6 +56,6 @@ export default Component.extend({
|
|||
return this.replicationDetails.knownPrimaryClusterAddrs;
|
||||
}),
|
||||
primaryUiUrl: computed('replicationDetails.{primaries,knownPrimaryClusterAddrs}', function() {
|
||||
return this.replicationDetails.primaries && this.replicationDetails.primaries[0].api_address;
|
||||
return this.replicationDetails.primaries.length && this.replicationDetails.primaries[0].api_address;
|
||||
}),
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue