File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
frontend/iframe/viewmodels Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ import { ForcedLogoutViewModel } from "hydrogen-web/src/domain/ForcedLogoutViewM
22import { LoginViewModel } from "hydrogen-web/src/domain/login/LoginViewModel" ;
33import { LogoutViewModel } from "hydrogen-web/src/domain/LogoutViewModel" ;
44import { SegmentType } from "hydrogen-web/src/domain/navigation" ;
5- import { SessionViewModel } from "hydrogen-web/src/domain/session/SessionViewModel" ;
65import { SessionLoadViewModel } from "hydrogen-web/src/domain/SessionLoadViewModel" ;
76import { SessionPickerViewModel } from "hydrogen-web/src/domain/SessionPickerViewModel" ;
87import { Options as BaseOptions , ViewModel } from "hydrogen-web/src/domain/ViewModel" ;
98import { Client } from "hydrogen-web/src/matrix/Client.js" ;
109import { allSections , Section } from "../platform/Navigation" ;
10+ import { SessionViewModel } from "./SessionViewModel" ;
1111
1212type Options = { } & BaseOptions ;
1313
Original file line number Diff line number Diff line change 1+ import { SessionViewModel as BaseSessionViewModel } from "hydrogen-web/src/domain/session/SessionViewModel" ;
2+
3+ export class SessionViewModel extends BaseSessionViewModel {
4+ constructor ( options ) {
5+ super ( options ) ;
6+ }
7+
8+ get id ( ) {
9+ return super . id ;
10+ }
11+
12+ start ( ) {
13+ super . start ( ) ;
14+ }
15+
16+ dispose ( ) : void {
17+ super . dispose ( ) ;
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments