@luckydraw/cumulus 0.27.17 → 0.27.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2503,7 +2503,9 @@
|
|
|
2503
2503
|
item.setAttribute('data-thread-name', name);
|
|
2504
2504
|
|
|
2505
2505
|
var dot = document.createElement('span');
|
|
2506
|
-
dot.className =
|
|
2506
|
+
dot.className = unreadThreads[name]
|
|
2507
|
+
? 'cumulus-thread-unread'
|
|
2508
|
+
: 'cumulus-thread-dot ' + (isActive ? 'active' : 'inactive');
|
|
2507
2509
|
item.appendChild(dot);
|
|
2508
2510
|
|
|
2509
2511
|
var nameEl = document.createElement('span');
|
|
@@ -2519,13 +2521,6 @@
|
|
|
2519
2521
|
item.appendChild(folderEl);
|
|
2520
2522
|
}
|
|
2521
2523
|
|
|
2522
|
-
// Unread indicator
|
|
2523
|
-
if (unreadThreads[name]) {
|
|
2524
|
-
var unreadDot = document.createElement('span');
|
|
2525
|
-
unreadDot.className = 'cumulus-thread-unread';
|
|
2526
|
-
item.appendChild(unreadDot);
|
|
2527
|
-
}
|
|
2528
|
-
|
|
2529
2524
|
if (messageCount !== undefined && messageCount !== null) {
|
|
2530
2525
|
var countEl = document.createElement('span');
|
|
2531
2526
|
countEl.className = 'cumulus-thread-count';
|