fix: sign out when only one user
parent
22b4c4aaa5
commit
f1f7462ec0
|
@ -75,6 +75,7 @@ export async function signout() {
|
||||||
clearUserDrafts()
|
clearUserDrafts()
|
||||||
clearUserFeatureFlags()
|
clearUserFeatureFlags()
|
||||||
|
|
||||||
|
currentUserId.value = ''
|
||||||
// Remove the current user from the users
|
// Remove the current user from the users
|
||||||
users.value.splice(index, 1)
|
users.value.splice(index, 1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue