-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat(FEC-9174): customize logo on bottom bar #402
Conversation
*/ | ||
static shouldRender(props: any): boolean { | ||
const componentConfig = props.config.components[this.displayName]; | ||
return !(Object.keys(componentConfig).length === 0 && componentConfig.constructor === Object); |
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.
what is this check?
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 for case that we didn't config this ui element so we don't want to render the element.
I took it actually from watermark and I saw it in other configurable components
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.
yes, I saw the reference but couldn't make sense of the actual check itself. What does it check for and why like this? you can check with @yairans who created it for the other component.
Description of the Changes
add customize logo from ui config added for small screen and up
CheckLists