mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 15:15:12 +08:00
fix(message-list): Clicking Archive or Trash should pop back to the thread list
This commit is contained in:
parent
4b1d8b0fbd
commit
a855a67d1d
2 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,7 @@ class ThreadArchiveButton extends React.Component
|
||||||
threads: [@props.thread],
|
threads: [@props.thread],
|
||||||
fromView: FocusedMailViewStore.mailView()
|
fromView: FocusedMailViewStore.mailView()
|
||||||
Actions.queueTask(task)
|
Actions.queueTask(task)
|
||||||
|
Actions.popSheet()
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ class ThreadTrashButton extends React.Component
|
||||||
threads: [@props.thread],
|
threads: [@props.thread],
|
||||||
fromView: FocusedMailViewStore.mailView()
|
fromView: FocusedMailViewStore.mailView()
|
||||||
Actions.queueTask(task)
|
Actions.queueTask(task)
|
||||||
|
Actions.popSheet()
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue