Skip to content
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

fix(controls): Hide find and thumbnail toggles if options are disabled #1311

Merged
merged 1 commit into from
Jan 4, 2021

Conversation

jstoffan
Copy link
Collaborator

I chose to short-circuit the toggles if their callback is undefined to avoid further prop sprawl on the DocControls component.

@jstoffan jstoffan requested a review from a team as a code owner December 24, 2020 02:14
@jstoffan jstoffan merged commit 46df6e4 into box:master Jan 4, 2021
@jstoffan jstoffan deleted the react-ui-options branch January 4, 2021 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants