Skip to content

Commit

Permalink
Merge pull request #5483 from pypp/cleanup/remove-dlna-page
Browse files Browse the repository at this point in the history
Remove DLNA dashboard page
  • Loading branch information
thornbill authored Jun 9, 2024
2 parents 1b27d7d + 14952d2 commit b5d6e37
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 46 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Devices, Analytics, Input } from '@mui/icons-material';
import { Devices, Analytics } from '@mui/icons-material';
import List from '@mui/material/List';
import ListItem from '@mui/material/ListItem';
import ListItemIcon from '@mui/material/ListItemIcon';
Expand Down Expand Up @@ -35,14 +35,6 @@ const DevicesDrawerSection = () => {
<ListItemText primary={globalize.translate('HeaderActivity')} />
</ListItemLink>
</ListItem>
<ListItem disablePadding>
<ListItemLink to='/dashboard/dlna'>
<ListItemIcon>
<Input />
</ListItemIcon>
<ListItemText primary={'DLNA'} />
</ListItemLink>
</ListItem>
</List>
);
};
Expand Down
1 change: 0 additions & 1 deletion src/apps/dashboard/routes/_asyncRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { AsyncRouteType, type AsyncRoute } from 'components/router/AsyncRoute';

export const ASYNC_ADMIN_ROUTES: AsyncRoute[] = [
{ path: 'activity', type: AsyncRouteType.Dashboard },
{ path: 'dlna', type: AsyncRouteType.Dashboard },
{ path: 'notifications', type: AsyncRouteType.Dashboard },
{ path: 'users', type: AsyncRouteType.Dashboard },
{ path: 'users/access', type: AsyncRouteType.Dashboard },
Expand Down
3 changes: 0 additions & 3 deletions src/apps/dashboard/routes/_redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ export const REDIRECTS: Redirect[] = [
{ from: 'dashboardgeneral.html', to: '/dashboard/settings' },
{ from: 'device.html', to: '/dashboard/devices/edit' },
{ from: 'devices.html', to: '/dashboard/devices' },
{ from: 'dlnaprofile.html', to: '/dashboard/dlna' },
{ from: 'dlnaprofiles.html', to: '/dashboard/dlna' },
{ from: 'dlnasettings.html', to: '/dashboard/dlna' },
{ from: 'edititemmetadata.html', to: '/metadata' },
{ from: 'encodingsettings.html', to: '/dashboard/playback/transcoding' },
{ from: 'installedplugins.html', to: '/dashboard/plugins' },
Expand Down
33 changes: 0 additions & 33 deletions src/apps/dashboard/routes/dlna.tsx

This file was deleted.

0 comments on commit b5d6e37

Please sign in to comment.