Page MenuHomePhabricator

[web] Use dispatchActionPromise when logging out
ClosedPublic

Authored by tomek on Aug 16 2022, 4:28 AM.
Tags
None
Referenced Files
F3351587: D4847.id15712.diff
Sat, Nov 23, 2:40 AM
F3351584: D4847.id15645.diff
Sat, Nov 23, 2:39 AM
F3350627: D4847.diff
Fri, Nov 22, 11:26 PM
Unknown Object (File)
Tue, Nov 5, 8:44 AM
Unknown Object (File)
Tue, Nov 5, 8:44 AM
Unknown Object (File)
Tue, Nov 5, 8:44 AM
Unknown Object (File)
Tue, Nov 5, 8:43 AM
Unknown Object (File)
Oct 10 2024, 4:41 AM

Details

Summary

Instead of calling server directly, we need to use dispatchActionPromise function, so that relevant redux actions are dispatched.
Fixes https://linear.app/comm/issue/ENG-1604/clean-enabled-apps-on-logout

Test Plan

Log out and check if logout success action was dispatched.

Diff Detail

Repository
rCOMM Comm
Branch
ENG-1604
Lint
No Lint Coverage
Unit
No Test Coverage