u
This commit is contained in:
@@ -22,6 +22,7 @@ import PublicIcon from '@mui/icons-material/Public';
|
||||
import BarChartIcon from '@mui/icons-material/BarChart';
|
||||
import { isKategorienPath } from './components/category/categoryRoute';
|
||||
import { deliveryEditorAutomat } from './automats/deliveryEditorAutomat';
|
||||
import { NAV_ITEM_ACTIVE_ACCENT } from './colors';
|
||||
|
||||
class DeliveryNavIcon extends PureComponent {
|
||||
constructor(props) {
|
||||
@@ -53,7 +54,7 @@ class DeliveryNavIcon extends PureComponent {
|
||||
...rest,
|
||||
sx: [
|
||||
...(Array.isArray(sx) ? sx : sx ? [sx] : []),
|
||||
(theme) => (hasDraft ? { color: theme.nav?.itemActiveAccent || '#2dd4bf' } : null),
|
||||
(theme) => (hasDraft ? { color: theme.nav?.itemActiveAccent || NAV_ITEM_ACTIVE_ACCENT } : null),
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user