Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ› Fix most-used / last-used storage (#1056, #1033)

Alicia Sykes4fc3abf5110f
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 */