Skip to content

Commit

Permalink
More running note fixes.
Browse files Browse the repository at this point in the history
Co-authored-by: Anandashankar Anil <aanil@users.noreply.github.com>
  • Loading branch information
alneberg and aanil authored Nov 28, 2024
1 parent b772812 commit be23539
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run_dir/static/js/running_notes_component.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,8 @@ export const vRunningNotesTab = {
this.openNewNoteForm();
}
},
toggleFormCategory(category) {
toggleFormCategory(event, category) {
event.preventDefault();
if (this.form_categories.includes(category)) {
this.form_categories = this.form_categories.filter(item => item !== category);
} else {
Expand Down

0 comments on commit be23539

Please sign in to comment.