@atlaskit/profilecard 16.11.0 → 16.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/components/User/ProfileCard.js +1 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/User/ProfileCard.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/User/ProfileCard.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -162,7 +162,7 @@ var Profilecard = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
162
162
|
|
|
163
163
|
var actions = this.props.actions || [];
|
|
164
164
|
|
|
165
|
-
if (!this.props.isCurrentUser && this.props.isKudosEnabled) {
|
|
165
|
+
if (!this.props.isCurrentUser && this.props.status === 'active' && this.props.isKudosEnabled) {
|
|
166
166
|
var kudosAction = {
|
|
167
167
|
label: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.default.giveKudosButton),
|
|
168
168
|
id: this.GIVE_KUDOS_ACTION_ID,
|
|
@@ -56,7 +56,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
56
56
|
actionSubjectId: actionSubjectId,
|
|
57
57
|
attributes: _objectSpread(_objectSpread({
|
|
58
58
|
packageName: "@atlaskit/profilecard",
|
|
59
|
-
packageVersion: "16.
|
|
59
|
+
packageVersion: "16.12.0"
|
|
60
60
|
}, attributes), {}, {
|
|
61
61
|
firedAt: (0, _performance.getPageTime)()
|
|
62
62
|
})
|
package/dist/cjs/version.json
CHANGED
|
@@ -93,7 +93,7 @@ export default class Profilecard extends React.PureComponent {
|
|
|
93
93
|
getActions() {
|
|
94
94
|
const actions = this.props.actions || [];
|
|
95
95
|
|
|
96
|
-
if (!this.props.isCurrentUser && this.props.isKudosEnabled) {
|
|
96
|
+
if (!this.props.isCurrentUser && this.props.status === 'active' && this.props.isKudosEnabled) {
|
|
97
97
|
const kudosAction = {
|
|
98
98
|
label: /*#__PURE__*/React.createElement(FormattedMessage, messages.giveKudosButton),
|
|
99
99
|
id: this.GIVE_KUDOS_ACTION_ID,
|
|
@@ -35,7 +35,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
35
35
|
actionSubjectId,
|
|
36
36
|
attributes: {
|
|
37
37
|
packageName: "@atlaskit/profilecard",
|
|
38
|
-
packageVersion: "16.
|
|
38
|
+
packageVersion: "16.12.0",
|
|
39
39
|
...attributes,
|
|
40
40
|
firedAt: getPageTime()
|
|
41
41
|
}
|
package/dist/es2019/version.json
CHANGED
|
@@ -135,7 +135,7 @@ var Profilecard = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
135
135
|
|
|
136
136
|
var actions = this.props.actions || [];
|
|
137
137
|
|
|
138
|
-
if (!this.props.isCurrentUser && this.props.isKudosEnabled) {
|
|
138
|
+
if (!this.props.isCurrentUser && this.props.status === 'active' && this.props.isKudosEnabled) {
|
|
139
139
|
var kudosAction = {
|
|
140
140
|
label: /*#__PURE__*/React.createElement(FormattedMessage, messages.giveKudosButton),
|
|
141
141
|
id: this.GIVE_KUDOS_ACTION_ID,
|
|
@@ -45,7 +45,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
45
45
|
actionSubjectId: actionSubjectId,
|
|
46
46
|
attributes: _objectSpread(_objectSpread({
|
|
47
47
|
packageName: "@atlaskit/profilecard",
|
|
48
|
-
packageVersion: "16.
|
|
48
|
+
packageVersion: "16.12.0"
|
|
49
49
|
}, attributes), {}, {
|
|
50
50
|
firedAt: getPageTime()
|
|
51
51
|
})
|
package/dist/esm/version.json
CHANGED