Skip to content

Commit

Permalink
chore(addon/components/paper-item): pushes types down to booleans and…
Browse files Browse the repository at this point in the history
… simplifies bitwise operation for developers to an or.
  • Loading branch information
matthewhartstonge committed Nov 13, 2024
1 parent ce53c9b commit f71f8c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/components/paper-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export default class PaperItem extends Component.extend(ParentMixin) {
click() {
this.proxiedComponents.forEach((component) => {
if (
component.processProxy &&
!!component.processProxy &&
!component.disabled &&
component.bubbles | !this.hasPrimaryAction
!!(component.bubbles || !this.hasPrimaryAction)
) {
component.processProxy();
}
Expand Down

0 comments on commit f71f8c8

Please sign in to comment.