fix(ui): fix back compat
This commit is contained in:
parent
e207d37e69
commit
4955b2f9f4
2 changed files with 4 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ interface IProps {
|
|||
sessionId: string;
|
||||
activeTab: string;
|
||||
updateLastPlayedSession: (id: string) => void
|
||||
videoURL: string;
|
||||
videoURL: string[];
|
||||
userDevice: string;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ export interface ISession {
|
|||
userUUID: string;
|
||||
userEvents: any[];
|
||||
timezone?: string;
|
||||
videoURL?: string[]
|
||||
}
|
||||
|
||||
const emptyValues = {
|
||||
|
|
@ -240,6 +241,7 @@ export default class Session {
|
|||
notes = [],
|
||||
canvasURL = [],
|
||||
uxtVideo = [],
|
||||
videoURL = [],
|
||||
...session
|
||||
} = sessionData;
|
||||
const duration = Duration.fromMillis(session.duration < 1000 ? 1000 : session.duration);
|
||||
|
|
@ -332,6 +334,7 @@ export default class Session {
|
|||
devtoolsURL,
|
||||
notes,
|
||||
canvasURL,
|
||||
videoURL: Array.isArray(videoURL) ? videoURL : [videoURL],
|
||||
notesWithEvents: mixedEventsWithIssues,
|
||||
frustrations: frustrationList,
|
||||
uxtVideo: uxtVideo[0],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue