Skip to content

Commit

Permalink
fix: add permission status to notif options menu
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Dec 31, 2023
1 parent 238edbd commit c44a75c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/layout/dialogs/UserOptions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ export default function UserOptions() {
/>
<DialogContent sx={{ minWidth: 'min(100vw, 350px)' }}>
<List>
{category === 'notifications' && (
<ListItem>
<ListItemText primaryTypographyProps={{ variant: 'h6' }}>
{t('notifications_status')}: {t(Notification.permission)}
</ListItemText>
</ListItem>
)}
{Object.entries(staticUserSettings).map(([option, values]) => (
<React.Fragment key={option}>
<ListItem
Expand Down

0 comments on commit c44a75c

Please sign in to comment.