Page MenuHomePhabricator

[web] Use dispatchActionPromise when logging out
ClosedPublic

Authored by tomek on Aug 16 2022, 4:28 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Sep 12 2024, 5:20 PM
Unknown Object (File)
Sep 12 2024, 5:20 PM

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