Skip to content

Commit

Permalink
fix(user-supplied default for "arrow") (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
kybishop authored Mar 28, 2018
1 parent ae1fc86 commit 08de0c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addon/components/attach-popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,11 @@ export default Component.extend({

// Don't override attrs manually passed into the component
if (attrs[key] === undefined) {
this[key] = defaults[key];
if (key === 'arrow') {
this.set('arrow', defaults[key]);
} else {
this[key] = defaults[key];
}
}
}
},
Expand Down

0 comments on commit 08de0c7

Please sign in to comment.