diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2024-07-10 15:56:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 15:56:33 +0100 |
| commit | 8d9f677c4e9ccfcc6dc9297864dc49446fb5ee59 (patch) | |
| tree | 1fe507403c4d690937834a815a663336bf104039 /ui/src/state | |
| parent | chore(deps): update to tonic 0.12, prost 0.13 (#2250) (diff) | |
| download | atuin-8d9f677c4e9ccfcc6dc9297864dc49446fb5ee59.zip | |
feat(gui): use fancy new side nav (#2243)
* feat(gui): use fancy new side nav
* compact only sidebar, no expand-collapse
* custom drag region, remove titlebar
* add user popup
* wire up login/logout/register, move user button to bottom and add menu
* link help and feedback to forum
Diffstat (limited to '')
| -rw-r--r-- | ui/src/state/client.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/state/client.ts b/ui/src/state/client.ts index 5ec0d8a7..c46fc4e6 100644 --- a/ui/src/state/client.ts +++ b/ui/src/state/client.ts @@ -20,6 +20,10 @@ export async function login( return await invoke("login", { username, password, key }); } +export async function logout(): Promise<string> { + return await invoke("logout"); +} + export async function register( username: string, email: string, |
