Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
The code was correct but ESLint is an older version that does not
support the syntax yet.
  • Loading branch information
mzur committed Jun 26, 2024
1 parent 78fb4ba commit 78e5448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/resources/assets/js/components/dismissImageGridImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ export default {
},
specialClassObject() {
let obj = Object.assign({}, this.classObject);
obj['image-grid__image--small-icon'] ||= this.pinnable && this.hovered;
obj['image-grid__image--small-icon'] = obj['image-grid__image--small-icon'] || this.pinnable && this.hovered;
obj['image-grid__image--fade'] = obj['image-grid__image--fade'] && !(this.pinnable && this.hovered);
return obj;
},
Expand Down

0 comments on commit 78e5448

Please sign in to comment.