diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-11-03 21:47:30 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-11-03 21:47:30 -0500 |
| commit | 65381f49cc9abce98c1c63c399fdcfc8ce76c3f5 (patch) | |
| tree | e0b1eea57aa8b431aa83e2efc4577c12d3cc2b29 /ui/lib/store/logins.js | |
| parent | 30fa0c4c1faece6b054105fe3cce5107f24a2fa2 (diff) | |
| parent | f38881f3253b3a128154ffd95655859e3dc629dc (diff) | |
Merge remote-tracking branch 'origin/wip/actually-configure-prettier'
Diffstat (limited to 'ui/lib/store/logins.js')
| -rw-r--r-- | ui/lib/store/logins.js | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ui/lib/store/logins.js b/ui/lib/store/logins.js index 5b45206..d449b3a 100644 --- a/ui/lib/store/logins.js +++ b/ui/lib/store/logins.js @@ -1,22 +1,22 @@ export class Logins { - constructor() { - this.logins = {}; - } + constructor() { + this.logins = {}; + } - addLogin(id, name) { - this.logins[id] = name; - return this; - } + addLogin(id, name) { + this.logins[id] = name; + return this; + } - setLogins(logins) { - this.logins = {}; - for (let { id, name } of logins) { - this.addLogin(id, name); - } - return this; - } + setLogins(logins) { + this.logins = {}; + for (let { id, name } of logins) { + this.addLogin(id, name); + } + return this; + } - get(id) { - return this.logins[id]; - } + get(id) { + return this.logins[id]; + } } |
