1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00

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

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
})