diff options
Diffstat (limited to 'modern/src/settings/GroupPage.js')
-rw-r--r-- | modern/src/settings/GroupPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/settings/GroupPage.js b/modern/src/settings/GroupPage.js index b4b0a92a..0bf66c69 100644 --- a/modern/src/settings/GroupPage.js +++ b/modern/src/settings/GroupPage.js @@ -14,8 +14,8 @@ import { useTranslation } from '../common/components/LocalizationProvider'; import SettingsMenu from './components/SettingsMenu'; import useCommonDeviceAttributes from '../common/attributes/useCommonDeviceAttributes'; import useGroupAttributes from '../common/attributes/useGroupAttributes'; -import { prefixString } from '../common/util/stringUtils'; import useFeatures from '../common/util/useFeatures'; +import { formatNotificationTitle } from '../common/util/formatter'; const useStyles = makeStyles((theme) => ({ details: { @@ -106,7 +106,7 @@ const GroupPage = () => { baseId={item.id} keyBase="groupId" keyLink="notificationId" - titleGetter={(it) => t(prefixString('event', it.type))} + titleGetter={(it) => formatNotificationTitle(t, it)} label={t('sharedNotifications')} /> {!features.disableDrivers && ( |