mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 22:53:25 +00:00
refactor: use persistant layout
This commit is contained in:
@@ -52,7 +52,7 @@ export default class UsersController {
|
||||
avatarUrl,
|
||||
token,
|
||||
providerType: 'google',
|
||||
isAdmin: userCount[0].total === '0',
|
||||
isAdmin: userCount[0].total === '0' ? true : undefined,
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user