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
|
@ -6,6 +6,14 @@ const store = new Vuex.Store({
|
|||
// recentlyAdded: ipcRenderer.sendSync("get-library-recentlyAdded"),
|
||||
// playlists: ipcRenderer.sendSync("get-library-playlists")
|
||||
},
|
||||
pageState: {
|
||||
recentlyAdded: {
|
||||
loaded: false,
|
||||
nextUrl: null,
|
||||
items: [],
|
||||
size: "normal"
|
||||
}
|
||||
},
|
||||
artwork: {
|
||||
playerLCD: ""
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue