Page MenuHomePhabricator

[web] Move `hasPermissionForTab` up from `ThreadSettingsModal` to `ConnectedThreadSettingsModal`
ClosedPublic

Authored by atul on Apr 18 2022, 3:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 26, 2:31 AM
Unknown Object (File)
Sun, Aug 25, 11:23 AM
Unknown Object (File)
Sat, Aug 17, 5:13 PM
Unknown Object (File)
Sat, Aug 17, 5:13 PM
Unknown Object (File)
Sat, Aug 17, 5:12 PM
Unknown Object (File)
Sat, Aug 17, 8:05 AM
Unknown Object (File)
Aug 13 2024, 10:50 PM
Unknown Object (File)
Aug 13 2024, 10:50 PM

Details

Summary

Move hasPermissionForTab up from ThreadSettingsModal to ConnectedThreadSettingsModal.

As part of the work to refactor ThreadSettingsModal... specifically to turn it into a functional component.


Depends on D3769

Test Plan
  1. Open ThreadSettingsModal for a few threads
  2. Ensure that the expected tabs are visible based on permission

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Apr 18 2022, 3:46 PM
This revision is now accepted and ready to land.Apr 21 2022, 3:12 AM