recently added rework #1
- recently added is now lazy loaded - uses official AM recently-added route - stores in vuex todo: add clearing method that gets triggered after some time
This commit is contained in:
parent
215b326b13
commit
5cfbab0c43
5 changed files with 94 additions and 61 deletions
|
@ -56,6 +56,7 @@ export class BrowserWindow {
|
|||
"pages/library-songs",
|
||||
"pages/library-albums",
|
||||
"pages/library-artists",
|
||||
"pages/library-recentlyadded",
|
||||
"pages/browse",
|
||||
"pages/groupings",
|
||||
"pages/settings",
|
||||
|
@ -118,6 +119,11 @@ export class BrowserWindow {
|
|||
"components/inline-collection-list",
|
||||
],
|
||||
appRoutes: [
|
||||
{
|
||||
page: "library-recentlyadded",
|
||||
component: `<cider-recentlyadded></cider-recentlyadded>`,
|
||||
condition: "page == 'library-recentlyadded'"
|
||||
},
|
||||
{
|
||||
page: "plugin-renderer",
|
||||
component: `<plugin-renderer></plugin-renderer>`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue