diff options
Diffstat (limited to 'modern/src/settings/DriverPage.js')
-rw-r--r-- | modern/src/settings/DriverPage.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modern/src/settings/DriverPage.js b/modern/src/settings/DriverPage.js index dee11d37..93d09c8e 100644 --- a/modern/src/settings/DriverPage.js +++ b/modern/src/settings/DriverPage.js @@ -7,6 +7,7 @@ import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import EditItemView from './components/EditItemView'; import EditAttributesView from './components/EditAttributesView'; import { useTranslation } from '../common/components/LocalizationProvider'; +import SettingsMenu from './components/SettingsMenu'; const useStyles = makeStyles(() => ({ details: { @@ -23,7 +24,14 @@ const DriverPage = () => { const validate = () => item && item.name && item.uniqueId; return ( - <EditItemView endpoint="drivers" item={item} setItem={setItem} validate={validate}> + <EditItemView + endpoint="drivers" + item={item} + setItem={setItem} + validate={validate} + menu={<SettingsMenu />} + breadcrumbs={['settingsTitle', 'sharedDriver']} + > {item && ( <> <Accordion defaultExpanded> |