We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03152e0 commit ee9f4e0Copy full SHA for ee9f4e0
packages/tdb-dashboard/src/pages/FreeTextSearch.js
@@ -162,8 +162,12 @@ function SearchDocument ({documentID}){
162
<Button onClick={navigateToDoc}>Manage Document</Button>
163
</Stack>
164
{Object.keys(selectedDocument).map(key=>{
165
+ let value = selectedDocument[key]
166
+ if(value && typeof value === "object"){
167
+ value = JSON.stringify(value)
168
+ }
169
return<Stack direction="horizontal" gap={2} >
- <p class="font-weight-bold text-success">{key}: </p><p class="font-weight-bold">{selectedDocument[key]}</p>
170
+ <p class="font-weight-bold text-success">{key}: </p><p class="font-weight-bold">{value}</p>
171
172
})}
173
</React.Fragment>}
0 commit comments