diff --git a/src/views/settings/CategoryBuilder.vue b/src/views/settings/CategoryBuilder.vue index be586aec..6181ceb9 100644 --- a/src/views/settings/CategoryBuilder.vue +++ b/src/views/settings/CategoryBuilder.vue @@ -220,7 +220,7 @@ export default { ); const events = data[0]; - const words = {}; + const words = new Map(); for (const event of events) { const words_in_event = event.data.title.split(/[\s\-,:()[\]/]/); for (const word of words_in_event) {