MM-58459 Fix unread threads not always being loaded correctly (#27200)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b788760e17
Коммит
6166f4e7d3
@@ -110,7 +110,7 @@ const GlobalThreads = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (filter === ThreadFilter.unread && shouldLoadUnreadThreads) {
|
if (filter === ThreadFilter.unread && shouldLoadUnreadThreads) {
|
||||||
promises.push(dispatch(getThreadsForCurrentTeam({unread: false})));
|
promises.push(dispatch(getThreadsForCurrentTeam({unread: true})));
|
||||||
}
|
}
|
||||||
|
|
||||||
Promise.all(promises).then(() => {
|
Promise.all(promises).then(() => {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user