소스 검색

fix: restore display_name/username that deleted before (#268)

which happend in commit # 3bab5b4
mrhaoji 2 년 전
부모
커밋
ea73201b6f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      web/src/components/UsersTable.js

+ 1 - 0
web/src/components/UsersTable.js

@@ -226,6 +226,7 @@ const UsersTable = () => {
                     <Popup
                       content={user.email ? user.email : '未绑定邮箱地址'}
                       key={user.username}
+                      header={user.display_name ? user.display_name : user.username}
                       trigger={<span>{renderText(user.username, 10)}</span>}
                       hoverable
                     />