JSFiddle - React, Tailwind, and code Playground
by Arvind Pal
JavaScript
let response = [ {
"Thread/816920334": [
{
"activity": {
"action": "created",
"field": "DOCUMENT",
"by": {
"_id": "Actor/28745465",
"_key": "28745465",
"_rev": "_aBLy78i--G",
"email": "[email protected]",
"full_name": "Arvind Pal",
"image": "https://lh5.googleusercontent.com/-h-0u0pG6spY/AAAAAAAAAAI/AAAAAAAABpo/WXdO4pQ7sro/photo.jpg",
"nickname": "arvind",
"source": "AUTH0",
"user_id": "google-oauth2|110245876629729604996",
"type": "USER",
"license_id": [
"License/vujade",
"License/tema"
]
},
"date": "2020-05-21T13:19:09.281Z",
"input": {
"_key": "816920334",
"_id": "Thread/816920334",
"_rev": "_ahcAyOC--_",
"isPublished": true,
"title": "Document to capture the action and fields for history report-update",
"description": "Document to capture the action and fields for history report",
"type": "DOCUMENT",
"status": "INITIATED",
"license_id": "License/vujade",
"assigned_to": [
"Actor/28745465"
],
"enableDiscussion": true
},
"revDoc": {
"_key": "_ahbhMq6---",
"_id": "T_TI_H/_ahbhMq6---",
"_rev": "_ahbhMui---",
"id": "Thread/816920334",
"isPublished": true,
"title": "Document to capture the action and fields for history report",
"description": "Document to capture the action and fields for history report",
"type": "DOCUMENT",
"status": "INITIATED",
"license_id": "License/vujade",
"assigned_to": [
"Actor/28745465"
],
"enableDiscussion": true
}
}
},
...