[fix] Support APP_ICON_WIDTH configuration parameter in SPA menu (#9666)

* Expose additional APP_ICON_WIDTH python config variable to ui via app bootstrap for use in Menu

* Update base.py to inclue APP_ICON_WIDTH via bracket notation instead of .get and adjust Menu proptypes to be required.

Co-authored-by: Natalie Ruhe <nruhe@nruhe.attlocal.net>
Co-authored-by: Natalie Ruhe <natalie@preset.io>
This commit is contained in:
Natalie Ruhe
2020-04-28 12:59:03 -07:00
committed by GitHub
parent a52cfcd234
commit 9d755bc1ad
3 changed files with 4 additions and 1 deletions

View File

@@ -75,6 +75,7 @@ const defaultProps = {
path: '/superset/profile/admin/',
icon: '/static/assets/images/superset-logo@2x.png',
alt: 'Superset',
width: '126',
},
navbar_right: {
bug_report_url: null,