From 4fc3abf5110f92508ab6d23ca8cc66b5f0dc29ca Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 26 Feb 2023 14:13:59 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20most-used=20/=20last-used?= =?UTF-8?q?=20storage=20(#1056,=20#1033)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mixins/ItemMixin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mixins/ItemMixin.js b/src/mixins/ItemMixin.js index 83113752..35518ff4 100644 --- a/src/mixins/ItemMixin.js +++ b/src/mixins/ItemMixin.js @@ -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 */