Skip to content

Commit

Permalink
Remove unused meta.icon properties from the router config (#3000)
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue authored Dec 31, 2022
1 parent f91395d commit eaeb472
Showing 1 changed file with 16 additions and 32 deletions.
48 changes: 16 additions & 32 deletions src/renderer/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,131 +54,115 @@ const router = new CustomRouter({
{
path: '/',
meta: {
title: 'Subscriptions.Subscriptions',
icon: 'fa-home'
title: 'Subscriptions.Subscriptions'
},
component: Subscriptions
},
{
path: '/subscriptions',
meta: {
title: 'Subscriptions.Subscriptions',
icon: 'fa-home'
title: 'Subscriptions.Subscriptions'
},
component: Subscriptions
},
{
path: '/subscribedchannels',
meta: {
title: 'Channels.Title',
icon: 'fa-home'
title: 'Channels.Title'
},
component: SubscribedChannels
},
{
path: '/settings/profile',
meta: {
title: 'Profile.Profile Settings',
icon: 'fa-home'
title: 'Profile.Profile Settings'
},
component: ProfileSettings
},
{
path: '/settings/profile/new',
name: 'newProfile',
meta: {
title: 'Profile.Create New Profile',
icon: 'fa-home'
title: 'Profile.Create New Profile'
},
component: ProfileEdit
},
{
path: '/settings/profile/edit/:id',
name: 'editProfile',
meta: {
title: 'Profile.Edit Profile',
icon: 'fa-home'
title: 'Profile.Edit Profile'
},
component: ProfileEdit
},
{
path: '/trending',
meta: {
title: 'Trending.Trending',
icon: 'fa-home'
title: 'Trending.Trending'
},
component: Trending
},
{
path: '/popular',
meta: {
title: 'Most Popular',
icon: 'fa-home'
title: 'Most Popular'
},
component: Popular
},
{
path: '/userplaylists',
meta: {
title: 'User Playlists.Your Playlists',
icon: 'fa-home'
title: 'User Playlists.Your Playlists'
},
component: UserPlaylists
},
{
path: '/history',
name: 'history',
meta: {
title: 'History.History',
icon: 'fa-home'
title: 'History.History'
},
component: History
},
{
path: '/settings',
meta: {
title: 'Settings.Settings',
icon: 'fa-home'
title: 'Settings.Settings'
},
component: Settings
},
{
path: '/about',
meta: {
title: 'About.About',
icon: 'fa-home'
title: 'About.About'
},
component: About
},
{
path: '/search/:query',
meta: {
title: 'Search Filters.Search Results',
icon: 'fa-home'
title: 'Search Filters.Search Results'
},
component: Search
},
{
path: '/playlist/:id',
meta: {
title: 'Playlist.Playlist',
icon: 'fa-home'
title: 'Playlist.Playlist'
},
component: Playlist
},
{
path: '/channel/:id/:currentTab?',
meta: {
title: 'Channel',
icon: 'fa-user'
title: 'Channel'
},
component: Channel
},
{
path: '/watch/:id',
meta: {
title: 'Watch',
icon: 'fa-user'
title: 'Watch'
},
component: Watch
}
Expand Down

0 comments on commit eaeb472

Please sign in to comment.