Skip to content

Commit

Permalink
Actually make SessionLoadViewModel.logout do something
Browse files Browse the repository at this point in the history
  • Loading branch information
hughns authored and sandhose committed Aug 1, 2022
1 parent 1482ba2 commit 887c3d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/domain/SessionLoadViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ export class SessionLoadViewModel extends ViewModel {
}

async logout() {
await this._client.logout();
const sessionId = this.navigation.path.get("session")?.value;
await this._client.startLogout(sessionId);
this.navigation.push("session", true);
}

Expand Down

0 comments on commit 887c3d4

Please sign in to comment.