mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 23:54:55 +00:00
enhance: display username too (#11105)
* enhance: display username too * enhance(ui): polish the user item from the global dots menu --------- Co-authored-by: charlie <xyhp915@qq.com>
This commit is contained in:
@@ -70,6 +70,12 @@
|
||||
parse-jwt
|
||||
:email))
|
||||
|
||||
(defn username []
|
||||
(some->
|
||||
(state/get-auth-id-token)
|
||||
parse-jwt
|
||||
:cognito:username))
|
||||
|
||||
(defn user-uuid []
|
||||
(some->
|
||||
(state/get-auth-id-token)
|
||||
|
||||
Reference in New Issue
Block a user