Actually make SessionLoadViewModel.logout do something

This commit is contained in:
Hugh Nimmo-Smith 2022-07-31 10:06:01 +01:00
parent 2f27f83194
commit a0ee8a9607

View File

@ -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);
}