-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add disableConnectedAccountInformation #623
Conversation
razor-x
commented
Apr 27, 2024
- feat: Add disableConnectedAccountInformation
- Move DeviceInfo to component
- feat: Add device info to lock DeviceDetails
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.
Nice, LGTM!
{device.properties.manufacturer === 'ecobee' && <BeeIcon />} | ||
</div> | ||
</DetailRow> | ||
{!disableConnectedAccountInformation && ( |
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.
This is meant to be for the whole section, not just the connect account row.
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.
@dawnho This will hide the connected account info. The device id is not related to the connect account but may be hidden with disableResourceIds
.
I feel the manufacturer information is fine to leave in here, but we could add a prop to hide that as well: disableManufacturerInformation
.