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
F3197144: D3770.id11651.diff
Sat, Nov 9, 7:27 AM
Unknown Object (File)
Thu, Nov 7, 7:07 AM
Unknown Object (File)
Wed, Nov 6, 11:40 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 11:15 AM
Unknown Object (File)
Tue, Oct 22, 2:05 AM

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