forked from dbroqua/MusicTopus
{BUGFIX} Espace double quote on artists
This commit is contained in:
parent
8289ed7116
commit
48287f2bae
2 changed files with 6 additions and 3 deletions
|
@ -43,7 +43,10 @@ Vue.createApp({
|
|||
},
|
||||
methods: {
|
||||
formatParams(param) {
|
||||
return param.replace("&", "%26").replace("+", "%2B");
|
||||
return param
|
||||
.replace("&", "%26")
|
||||
.replace("+", "%2B")
|
||||
.replace('"', "%22");
|
||||
},
|
||||
fetch() {
|
||||
this.loading = true;
|
||||
|
@ -63,7 +66,7 @@ Vue.createApp({
|
|||
const [key, value] = entry;
|
||||
switch (key) {
|
||||
case "artists_sort":
|
||||
this.artist = value;
|
||||
this.artist = value.replaceAll('"', "%22");
|
||||
break;
|
||||
default:
|
||||
if (["order", "sort"].indexOf(key) !== -1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue