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
F3572196: D3770.diff
Sat, Dec 28, 11:12 AM
Unknown Object (File)
Wed, Dec 25, 12:53 PM
Unknown Object (File)
Wed, Dec 25, 12:53 PM
Unknown Object (File)
Wed, Dec 25, 12:53 PM
Unknown Object (File)
Wed, Dec 25, 12:53 PM
Unknown Object (File)
Wed, Dec 25, 12:52 PM
Unknown Object (File)
Wed, Dec 25, 12:50 PM
Unknown Object (File)
Nov 22 2024, 2:01 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
Branch
actuallylandapril21 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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