Commit 84644de
Merge #344
344: Fix nested object being transfom into [object, object] in highlight r=bidoubiwa a=bidoubiwa
The body of _highlightedResult used to look like this:

The field should be transformed to String using `JSON.stringify` to keep all information.
<img width="923" alt="Screenshot 2021-03-25 at 15 20 33" src="https://user-images.githubusercontent.com/33010418/112488467-d93cc900-8d7d-11eb-9bc2-b1d4e26299a8.png">
It looks like this with this fix.
Co-authored-by: Charlotte Vermandel <[email protected]>1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments