Update only user check to account for 0 users
This commit is contained in:
parent
bca79f3b94
commit
e3f73473c3
|
@ -135,5 +135,5 @@ export const userSelectedResourceMap = derived(userStore, $userStore => {
|
|||
})
|
||||
|
||||
export const isOnlyUser = derived(userStore, $userStore => {
|
||||
return $userStore.length === 1
|
||||
return $userStore.length < 2
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue