Skip to content

Commit

Permalink
refactor(addon/components/paper-item): migrates to es5 getters.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhartstonge committed Nov 12, 2024
1 parent 0dd1983 commit 212ab5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/components/paper-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class PaperItem extends Component.extend(ParentMixin) {
tabindex = '-1';

@filter('childComponents', function (c) {
return !c.get('skipProxy');
return !c.skipProxy;
})
proxiedComponents;

Expand Down Expand Up @@ -86,8 +86,8 @@ export default class PaperItem extends Component.extend(ParentMixin) {
this.proxiedComponents.forEach((component) => {
if (
component.processProxy &&
!component.get('disabled') &&
component.get('bubbles') | !this.hasPrimaryAction
!component.disabled &&
component.bubbles | !this.hasPrimaryAction
) {
component.processProxy();
}
Expand Down

0 comments on commit 212ab5a

Please sign in to comment.