fix(ui): project fallback to recorded variable
This commit is contained in:
parent
632015579d
commit
c540972522
1 changed files with 1 additions and 2 deletions
|
|
@ -38,12 +38,11 @@ export default Record({
|
|||
return js;
|
||||
},
|
||||
},
|
||||
fromJS: ({ gdpr, projectId, name, firstRecordedSessionAt, ...rest }) => ({
|
||||
fromJS: ({ gdpr, projectId, name, ...rest }) => ({
|
||||
...rest,
|
||||
host: name,
|
||||
name: name,
|
||||
id: projectId === undefined ? undefined : `${ projectId }`, //?!?!?!?!?
|
||||
gdpr: GDPR(gdpr),
|
||||
recorded: !!firstRecordedSessionAt,
|
||||
})
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue