We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad29be commit 2eb2d6eCopy full SHA for 2eb2d6e
src/components/d-user/DUser.service.ts
@@ -37,14 +37,6 @@ export abstract class DUserReactiveService extends ReactiveArrayService<DUserVie
37
//TODO: inject UI error handler for toasts
38
//no id's need to be injected here because the root query has a users field
39
40
- createUserSession(payload: UserSession): void {
41
- window.localStorage.setItem("ide_code-zero_session", JSON.stringify(payload));
42
- }
43
-
44
- getUserSession(): UserSession | undefined {
45
- return JSON.parse(window.localStorage.getItem("ide_code-zero_session")!!) as UserSession
46
47
48
getById(id: User['id']): DUserView | undefined {
49
return this.values().find(user => user.id === id);
50
}
0 commit comments