q631599119 commented on issue #31396: URL: https://github.com/apache/superset/issues/31396#issuecomment-2535223775
@dosu Change the menu Item, What file is the triggered function in? How was it achieved? export default function LanguagePicker(props: LanguagePickerProps) { const { locale, languages, ...rest } = props; console.log('===================================='); console.log(languages); console.log('===================================='); return ( <SubMenu aria-label="Languages" title={ <div className="f16"> <StyledFlag className={`flag ${languages[locale].flag}`} /> </div> } icon={<Icons.TriangleDown />} {...rest} > {Object.keys(languages).map(langKey => ( <Menu.Item key={langKey} style={{ whiteSpace: 'normal', height: 'auto' }} > <StyledLabel className="f16"> <i className={`flag ${languages[langKey].flag}`} /> <a href={languages[langKey].url}>{languages[langKey].name}</a> </StyledLabel> </Menu.Item> ))} </SubMenu> ); } -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org