fields
This commit is contained in:
parent
16b0b9e0a0
commit
2c33ddc060
1 changed files with 7 additions and 1 deletions
|
@ -1944,7 +1944,13 @@ const app = new Vue({
|
|||
types: "activities,albums,artists,editorial-items,music-movies,playlists,record-labels,songs,stations",
|
||||
})
|
||||
).data.results;
|
||||
this.search.hints = hints ? hints.suggestions : [];
|
||||
let shints = hints ? hints.suggestions : [];
|
||||
for (item in shints){
|
||||
if ((shints[item]?.displayTerm ?? "").includes("?fields[")){
|
||||
shints[item].displayTerm = shints[item].searchTerm = shints[item].displayTerm.split('?fields[')[0]
|
||||
}
|
||||
}
|
||||
this.search.hints = shints;
|
||||
},
|
||||
getSongProgress() {
|
||||
if (this.playerLCD.userInteraction) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue