Skip to content

Commit

Permalink
[FIX] Fixed comment number in notes
Browse files Browse the repository at this point in the history
  • Loading branch information
whikernel committed Dec 9, 2024
1 parent 461182c commit f71442b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app/static/assets/js/iris/case.notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ async function note_detail(id) {
$('.note').removeClass('note-highlight');
$('#note-' + id).addClass('note-highlight');

$('#object_comments_number').text(data.data.comments.length);
$('#object_comments_number').text(data.data.comments.length > 0 ? data.data.comments.length: '');
$('#content_last_saved_by').text('');
$('#content_typing').text('');
$('#last_saved').removeClass('btn-danger').addClass('btn-success');
Expand Down

0 comments on commit f71442b

Please sign in to comment.