Page MenuHomePhabricator

[web] Use dispatchActionPromise when logging out
ClosedPublic

Authored by tomek on Aug 16 2022, 4:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 13, 4:43 PM
Unknown Object (File)
Wed, Jun 5, 9:01 AM
Unknown Object (File)
Tue, Jun 4, 11:02 AM
Unknown Object (File)
May 27 2024, 1:51 AM
Unknown Object (File)
May 27 2024, 1:51 AM
Unknown Object (File)
May 27 2024, 1:46 AM
Unknown Object (File)
May 14 2024, 1:36 PM
Unknown Object (File)
Apr 20 2024, 3:24 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable