mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 08:46:07 +08:00
b6a1fc5234
Summary:
We detect when a thread is removed from the thread-list by listening to
`Actions.threadListDidUpdate`. However, we were not firing the action at
the correct moment.
Before this commit, we fired the action on the root `ThreadList`'s
`componentDidUpdate`, however did this not actually fire when the
child list actually updated/removed threads from the list.
This sort of used to work because before
|
||
---|---|---|
.. | ||
category-removal-target-rulesets.es6 | ||
injects-toolbar-buttons.jsx | ||
main.es6 | ||
message-list-toolbar.jsx | ||
selected-items-stack.jsx | ||
thread-list-columns.cjsx | ||
thread-list-context-menu.es6 | ||
thread-list-data-source.es6 | ||
thread-list-icon.cjsx | ||
thread-list-participants.cjsx | ||
thread-list-quick-actions.cjsx | ||
thread-list-scroll-tooltip.cjsx | ||
thread-list-store.coffee | ||
thread-list-toolbar.jsx | ||
thread-list.cjsx | ||
thread-toolbar-buttons.jsx |