Skip to content

Commit 4fc3abf

Browse files
committed
🐛 Fix most-used / last-used storage (#1056, #1033)
1 parent 743232e commit 4fc3abf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mixins/ItemMixin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ export default {
157157
this.$emit('itemClicked');
158158
// Update the most/ last used ledger, for smart-sorting
159159
if (!this.appConfig.disableSmartSort) {
160-
this.incrementMostUsedCount(this.id);
161-
this.incrementLastUsedCount(this.id);
160+
this.incrementMostUsedCount(this.item.id);
161+
this.incrementLastUsedCount(this.item.id);
162162
}
163163
},
164164
/* Open item, using specified method */

0 commit comments

Comments
 (0)