User specific motd changes, adding question db name to found question

This commit is contained in:
mrfry 2021-01-11 14:47:16 +01:00
parent f19226a74e
commit 57d8f642a0
2 changed files with 25 additions and 12 deletions

View file

@ -569,7 +569,18 @@ if (!isMainThread) {
searchTillMatchPercent,
searchInAllIfNoResult
)
searchResult = [...searchResult, ...res]
searchResult = [
...searchResult,
...res.map((x) => {
return {
...x,
detailedMatch: {
...x.detailedMatch,
qdb: qdb.name,
},
}
}),
]
}
})
} catch (err) {