-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide unsubscribe button on channel list if this is set in parental controls. #2906
Conversation
Head branch was pushed to by a user without write access
Head branch was pushed to by a user without write access
Hi, good catch. Would you be able to remove the package-lock.json file? Thank you for opening this PR 🙂 |
Head branch was pushed to by a user without write access
Hi - sorry about that I have removed it now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally
Title
Hide unsubscribe button on channel list if this is set in parental controls.
Pull Request Type
Related issue
#1086
Description
There is an existing parental control setting to hide the unsubscribe button on the channel page. This PR also hides the unsubscribe button on the channel list page (the channels page in the side bar).
Testing
I tested this PR by building the app and observing that the unsubscribe button was hidden on the channel page and the channels page when the setting was toggled in the parental control settings panel. I also observed that the unsubscribe button was not hidden when this setting is not enabled.
Desktop
Additional context
None