@bigbinary/neeto-team-members-frontend 2.8.21 → 2.8.22
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/dist/index.cjs.js +1 -19
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -19
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/translations/en.json +0 -4
package/dist/index.js
CHANGED
|
@@ -5622,14 +5622,6 @@ var getDefaultAlertMessage = function getDefaultAlertMessage(_ref4) {
|
|
|
5622
5622
|
})
|
|
5623
5623
|
});
|
|
5624
5624
|
};
|
|
5625
|
-
var renderInvitedStatus = function renderInvitedStatus(inviteStatus) {
|
|
5626
|
-
var statuses = {
|
|
5627
|
-
not_invited: i18next.t("neetoTeamMembers.common.notInvited"),
|
|
5628
|
-
pending: i18next.t("neetoTeamMembers.common.pending"),
|
|
5629
|
-
confirmed: i18next.t("neetoTeamMembers.common.joined")
|
|
5630
|
-
};
|
|
5631
|
-
return statuses[inviteStatus];
|
|
5632
|
-
};
|
|
5633
5625
|
var getDefaultColumns = function getDefaultColumns(_ref5) {
|
|
5634
5626
|
var config = _ref5.config,
|
|
5635
5627
|
displayStatusTag = _ref5.displayStatusTag,
|
|
@@ -5663,15 +5655,6 @@ var getDefaultColumns = function getDefaultColumns(_ref5) {
|
|
|
5663
5655
|
sorter: true,
|
|
5664
5656
|
width: "200px",
|
|
5665
5657
|
title: i18next.t("neetoTeamMembers.common.role", SINGULAR)
|
|
5666
|
-
}, {
|
|
5667
|
-
dataIndex: "inviteStatus",
|
|
5668
|
-
key: "invite_status",
|
|
5669
|
-
sorter: true,
|
|
5670
|
-
width: "150px",
|
|
5671
|
-
title: i18next.t("neetoTeamMembers.common.inviteStatus"),
|
|
5672
|
-
render: function render(inviteStatus) {
|
|
5673
|
-
return renderInvitedStatus(inviteStatus);
|
|
5674
|
-
}
|
|
5675
5658
|
}];
|
|
5676
5659
|
};
|
|
5677
5660
|
var getSearchParams = function getSearchParams(_ref6, filter) {
|
|
@@ -6734,8 +6717,7 @@ var Right = withT(function (_ref2) {
|
|
|
6734
6717
|
},
|
|
6735
6718
|
onChange: function onChange(_, hiddenColumns) {
|
|
6736
6719
|
return setHiddenColumns(hiddenColumns);
|
|
6737
|
-
}
|
|
6738
|
-
initialValue: ["inviteStatus"]
|
|
6720
|
+
}
|
|
6739
6721
|
},
|
|
6740
6722
|
filterProps: {
|
|
6741
6723
|
columns: filterColumns,
|