We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
words
1 parent 8245c37 commit 5993db3Copy full SHA for 5993db3
src/views/settings/CategoryBuilder.vue
@@ -153,8 +153,8 @@ export default {
153
computed: {
154
...mapState(useCategoryStore, ['allCategoriesSelect']),
155
words_by_duration: function () {
156
- const words: { [key: string]: { word: string; duration: number } } = this.words;
157
- return Object.values(words)
+ const words: { word: string; duration: number }[] = [...this.words.values()];
+ return words
158
.sort((a, b) => b.duration - a.duration)
159
.filter(word => word.duration > 60)
160
.filter(word => !this.ignored_words.includes(word.word));
0 commit comments