diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-09 01:43:34 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-09 11:45:31 -0400 |
| commit | 2f0b77e8fd02a137047c8975a573626cd76310ff (patch) | |
| tree | 481d82e99cf8aad8fe256d8186ae72bcee23bf9f /hi-ui/src/store/logins.js | |
| parent | ba96974bdebd6d4ec345907d49944b5ee644ed47 (diff) | |
Return a flat message list on boot, not nested lists by channel.
This is a bit easier to compute, and sets us up nicely for pulling message boot out of the `/api/boot` response entirely.
Diffstat (limited to 'hi-ui/src/store/logins.js')
| -rw-r--r-- | hi-ui/src/store/logins.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hi-ui/src/store/logins.js b/hi-ui/src/store/logins.js index 207b757..5b45206 100644 --- a/hi-ui/src/store/logins.js +++ b/hi-ui/src/store/logins.js @@ -8,7 +8,8 @@ export class Logins { return this; } - addLogins(logins) { + setLogins(logins) { + this.logins = {}; for (let { id, name } of logins) { this.addLogin(id, name); } |
