chore: Prettified Code

[ci skip]
This commit is contained in:
vapormusic 2022-09-15 17:19:46 +00:00 committed by cider-chore[bot]
parent 294b27d915
commit 84878ba0e4

View file

@ -1947,7 +1947,7 @@ const app = new Vue({
let shints = hints ? hints.suggestions : [];
for (let item in shints) {
if ((shints[item]?.displayTerm ?? "").includes("?fields[")) {
shints[item].displayTerm = shints[item].searchTerm = shints[item].displayTerm.split('?fields[')[0]
shints[item].displayTerm = shints[item].searchTerm = shints[item].displayTerm.split("?fields[")[0];
}
}
this.search.hints = shints;