Update only user check to account for 0 users

This commit is contained in:
Andrew Kingston 2023-07-07 09:13:26 +01:00
parent bca79f3b94
commit e3f73473c3
1 changed files with 1 additions and 1 deletions

View File

@ -135,5 +135,5 @@ export const userSelectedResourceMap = derived(userStore, $userStore => {
})
export const isOnlyUser = derived(userStore, $userStore => {
return $userStore.length === 1
return $userStore.length < 2
})