Skip to content

Commit

Permalink
fix(*): Fix single select account drop-down (#3609)
Browse files Browse the repository at this point in the history
Unintentionally regressed in spinnaker/orca#3608
  • Loading branch information
ajordens committed May 2, 2017
1 parent 7aed6d0 commit 9ac4e0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = angular

if (this.component) {
var mergedAccounts = (this.mergedAccounts || []).sort();
var component = _.flatten(this.component[this.field]).sort();
var component = _.flatten([this.component[this.field]]).sort();

if (!_.isEqual(_.intersection(mergedAccounts, component), component)) {
this.component[this.field] = null;
Expand Down

0 comments on commit 9ac4e0f

Please sign in to comment.