forked from Mirrors/elk
fix: sign out when only one user
This commit is contained in:
parent
22b4c4aaa5
commit
f1f7462ec0
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ export async function signout() {
|
|||
clearUserDrafts()
|
||||
clearUserFeatureFlags()
|
||||
|
||||
currentUserId.value = ''
|
||||
// Remove the current user from the users
|
||||
users.value.splice(index, 1)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue