import React from 'react'; import { useParams } from 'react-router-dom'; import { Accordion, AccordionSummary, AccordionDetails, Typography, Container, } from '@mui/material'; import ExpandMoreIcon from '@mui/icons-material/ExpandMore'; import LinkField from '../common/components/LinkField'; import { useTranslation } from '../common/components/LocalizationProvider'; import SettingsMenu from './components/SettingsMenu'; import { formatNotificationTitle } from '../common/util/formatter'; import PageLayout from '../common/components/PageLayout'; import useFeatures from '../common/util/useFeatures'; import useSettingsStyles from './common/useSettingsStyles'; const GroupConnectionsPage = () => { const classes = useSettingsStyles(); const t = useTranslation(); const { id } = useParams(); const features = useFeatures(); return ( } breadcrumbs={['settingsTitle', 'groupDialog', 'sharedConnections']} > }> {t('sharedConnections')} formatNotificationTitle(t, it)} label={t('sharedNotifications')} /> {!features.disableDrivers && ( `${it.name} (${it.uniqueId})`} label={t('sharedDrivers')} /> )} {!features.disableComputedAttributes && ( it.description} label={t('sharedComputedAttributes')} /> )} {!features.disableSavedCommands && ( it.description} label={t('sharedSavedCommands')} /> )} {!features.disableMaintenance && ( )} ); }; export default GroupConnectionsPage;