Show the name of the logged in user in DefaultLayout
This commit is contained in:
parent
ae7fc596b9
commit
21c85941be
|
|
@ -18,8 +18,8 @@ charset = utf-8
|
|||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# 4 space indentation
|
||||
[*.yml]
|
||||
# 2 space indentation
|
||||
[*.{yml,gql}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
fragment UserParts on UserNode {
|
||||
id
|
||||
pk
|
||||
username
|
||||
email
|
||||
firstName
|
||||
lastName
|
||||
avatar
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#import "./fragments/userParts.gql"
|
||||
query MeQuery {
|
||||
me {
|
||||
...UserParts
|
||||
permissions
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue