1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2025-02-01 12:31:38 +01:00

Do now show zero conversations in the title - closes #2613

This commit is contained in:
FreeScout 2023-01-24 03:11:39 -08:00
parent 170c4de21f
commit a3d5018c25

2
public/js/main.js vendored
View File

@ -3470,7 +3470,7 @@ function polycastInit()
// Update number of active conversations in the page title
var new_count = parseInt(active_folder.attr('data-active-count'));
if (!isNaN(new_count)) {
if (!isNaN(new_count) && new_count > 0) {
new_count = '('+new_count+') ';
} else {
new_count = '';