Skip to content

Commit

Permalink
fix: fixes bug in category builder when word 'constructor' exists (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed May 7, 2024
1 parent 75dc005 commit 74b0d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/settings/CategoryBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export default {
);
const events = data[0];
const words = {};
const words = new Map<string, { word: string; duration: number; events: any[] }>();
for (const event of events) {
const words_in_event = event.data.title.split(/[\s\-,:()[\]/]/);
for (const word of words_in_event) {
Expand Down

1 comment on commit 74b0d31

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are screenshots of this commit:

Screenshots using aw-server v0.12.3b11 (click to expand)

Screenshots using aw-server-rust master (click to expand)

Screenshots using aw-server-rust v0.12.3b11 (click to expand)

Please sign in to comment.