diff --git a/src/config/theme/light.ts b/src/config/theme/light.ts index 03aaf2db..9ff16515 100644 --- a/src/config/theme/light.ts +++ b/src/config/theme/light.ts @@ -31,6 +31,7 @@ export default { rowSelectedBg: 'transparent', headerSortActiveBg: 'transparent', headerSortHoverBg: 'transparent', + headerSplitColor: '#e8e8e8', headerBg: 'none' }, Button: { diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx index 9aa3ec64..91ae51ff 100644 --- a/src/layouts/index.tsx +++ b/src/layouts/index.tsx @@ -358,7 +358,7 @@ export default (props: any) => { config={{ apiBaseUrl: GPUSTACK_API_BASE_URL, theme: userSettings.theme, - iconUrl: '//at.alicdn.com/t/c/font_4613488_0ear6uwu4lzg.js', + iconUrl: '//at.alicdn.com/t/c/font_4613488_acsxe9xvhd.js', isDarkTheme: userSettings.isDarkTheme, defaultColorPrimary: COLOR_PRIMARY }} diff --git a/src/layouts/sider-menu.tsx b/src/layouts/sider-menu.tsx index 5a9bd0f1..2260bdef 100644 --- a/src/layouts/sider-menu.tsx +++ b/src/layouts/sider-menu.tsx @@ -133,8 +133,7 @@ const useStyles = createStyles(({ css, token }) => { }); const SiderMenu: React.FC = (props) => { - const { menuData, collapsed, initialState } = props; - const is_admin = initialState?.currentUser?.is_admin || false; + const { menuData, collapsed } = props; const { styles, cx } = useStyles(); const location = useLocation(); const [collapseKeys, setCollapseKeys] = useState>(new Set()); @@ -237,9 +236,9 @@ const SiderMenu: React.FC = (props) => { rotate={collapseKeys.has(item.key) ? -90 : 0} > - ) : is_admin ? ( + ) : ( - ) : null} + )}