fix isInternalUser
This commit is contained in:
parent
bfdac846e1
commit
3d91f5ac57
|
@ -35,6 +35,7 @@ export function getLocalUserDetails(): UserDetails {
|
||||||
|
|
||||||
export const isInternalUser = () => {
|
export const isInternalUser = () => {
|
||||||
const userEmail = getData(LS_KEYS.USER)?.email;
|
const userEmail = getData(LS_KEYS.USER)?.email;
|
||||||
|
if (!userEmail) return false;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
userEmail.endsWith('@ente.io') || userEmail === 'kr.anand619@gmail.com'
|
userEmail.endsWith('@ente.io') || userEmail === 'kr.anand619@gmail.com'
|
||||||
|
|
Loading…
Reference in a new issue