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 14, 2024
1 parent 3409186 commit 99f86fc
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 99f86fc

Please sign in to comment.