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:
rcmerci
2024-03-12 16:53:00 +08:00
committed by GitHub
parent 451b7a6d9d
commit 7f26deed45
15 changed files with 20 additions and 21 deletions

View File

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