change(ui): check for sessions records state
This commit is contained in:
parent
2ddd3ddfd7
commit
b7bb800221
1 changed files with 2 additions and 1 deletions
|
|
@ -38,11 +38,12 @@ export default Record({
|
|||
return js;
|
||||
},
|
||||
},
|
||||
fromJS: ({ gdpr, projectId, name, ...rest }) => ({
|
||||
fromJS: ({ gdpr, projectId, name, firstRecordedSessionAt, ...rest }) => ({
|
||||
...rest,
|
||||
host: name,
|
||||
name: name,
|
||||
id: projectId === undefined ? undefined : `${ projectId }`, //?!?!?!?!?
|
||||
gdpr: GDPR(gdpr),
|
||||
recorded: !!firstRecordedSessionAt,
|
||||
})
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue