Browse Source

Merge branch 'master' of Hepper/comment into master

AdamFu 5 years ago
parent
commit
9cc63b9c7f

+ 1
- 1
lib/components/CommentInput/index.js.map
File diff suppressed because it is too large
View File


+ 3
- 1
lib/components/ContentItem/AvatarHoverCard.js View File

77
           } },
77
           } },
78
         _react2.default.createElement(
78
         _react2.default.createElement(
79
           "div",
79
           "div",
80
-          { onClick: this.props.userAvaClick },
80
+          { onClick: function onClick() {
81
+              return _this2.props.userAvaClick(user_id);
82
+            } },
81
           _react2.default.createElement(
83
           _react2.default.createElement(
82
             _row2.default,
84
             _row2.default,
83
             { type: "flex", className: "rowUser" },
85
             { type: "flex", className: "rowUser" },

+ 1
- 1
lib/components/ContentItem/AvatarHoverCard.js.map
File diff suppressed because it is too large
View File


+ 1
- 0
lib/components/ContentItem/AvatarHoverCard.less View File

5
 
5
 
6
 .rowUser {
6
 .rowUser {
7
   align-items: center;
7
   align-items: center;
8
+  cursor: pointer;
8
 }
9
 }
9
 .avatar {
10
 .avatar {
10
   width: 48px;
11
   width: 48px;

+ 1
- 1
lib/components/ContentItem/index.js.map
File diff suppressed because it is too large
View File


+ 4
- 4
lib/version.json View File

1
 {
1
 {
2
     "name":       "comment",
2
     "name":       "comment",
3
-    "buildDate":  1562985105668,
3
+    "buildDate":  1563244545737,
4
     "version":    "1.0.4",
4
     "version":    "1.0.4",
5
-    "numCommits": 161,
6
-    "hash":       "a7dfeba",
7
-    "dirty":      true
5
+    "numCommits": 162,
6
+    "hash":       "388cc92",
7
+    "dirty":      false
8
 }
8
 }

+ 1
- 1
src/components/ContentItem/AvatarHoverCard.js View File

25
     return (
25
     return (
26
       <div className="AvatarHoverCard" onClick={e => e.stopPropagation()}>
26
       <div className="AvatarHoverCard" onClick={e => e.stopPropagation()}>
27
         {/* <Link to={`/bilingual/user/${user_id}`}> */}
27
         {/* <Link to={`/bilingual/user/${user_id}`}> */}
28
-        <div onClick={this.props.userAvaClick}>
28
+        <div onClick={() => this.props.userAvaClick(user_id)}>
29
           <Row type="flex" className="rowUser">
29
           <Row type="flex" className="rowUser">
30
             <div
30
             <div
31
               className="avatar"
31
               className="avatar"

+ 1
- 0
src/components/ContentItem/AvatarHoverCard.less View File

5
 
5
 
6
 .rowUser {
6
 .rowUser {
7
   align-items: center;
7
   align-items: center;
8
+  cursor: pointer;
8
 }
9
 }
9
 .avatar {
10
 .avatar {
10
   width: 48px;
11
   width: 48px;