From a0ee8a9607381968f001ccb4db155cd40b7dd237 Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Sun, 31 Jul 2022 10:06:01 +0100 Subject: [PATCH] Actually make SessionLoadViewModel.logout do something --- src/domain/SessionLoadViewModel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/domain/SessionLoadViewModel.js b/src/domain/SessionLoadViewModel.js index abc16299..5b2c2a93 100644 --- a/src/domain/SessionLoadViewModel.js +++ b/src/domain/SessionLoadViewModel.js @@ -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); }