Skip to content

Commit

Permalink
🐛 Fix most-used / last-used storage (Lissy93#1056, Lissy93#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Feb 26, 2023
1 parent 743232e commit 4fc3abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mixins/ItemMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ export default {
this.$emit('itemClicked');
// Update the most/ last used ledger, for smart-sorting
if (!this.appConfig.disableSmartSort) {
this.incrementMostUsedCount(this.id);
this.incrementLastUsedCount(this.id);
this.incrementMostUsedCount(this.item.id);
this.incrementLastUsedCount(this.item.id);
}
},
/* Open item, using specified method */
Expand Down

0 comments on commit 4fc3abf

Please sign in to comment.