chore: Prettified Code
[ci skip]
This commit is contained in:
parent
294b27d915
commit
84878ba0e4
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue