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:
parent
170c4de21f
commit
a3d5018c25
2
public/js/main.js
vendored
2
public/js/main.js
vendored
@ -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 = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user