Fixed bad mention counts in the dropdown menu (#2687)
This commit is contained in:
parent
f4f4511cc7
commit
73edb2fe48
|
@ -172,6 +172,7 @@ export class TeamDropdownView {
|
|||
}
|
||||
|
||||
private reduceNotifications = <T>(inputMap: Map<string, T>, items: Map<string, T>, modifier: (base?: T, value?: T) => T) => {
|
||||
inputMap.clear();
|
||||
return [...items.keys()].reduce((map, key) => {
|
||||
const view = ServerManager.getTab(key);
|
||||
if (!view) {
|
||||
|
|
Loading…
Reference in a new issue