fix(ui): fix session mapping crash
This commit is contained in:
parent
4fcb4d8e23
commit
227525d053
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ export default class SessionStore {
|
|||
.getSessions(filter.toJson?.() || filter)
|
||||
.then((response: any) => {
|
||||
resolve({
|
||||
sessions: response.sessions.map((session: any) => new Session().fromJson(session)),
|
||||
sessions: response.sessions.map((session: any) => new Session(session)),
|
||||
total: response.total,
|
||||
});
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue