@deepinnet-components/pc 0.0.22 → 0.0.23

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.
@@ -91,7 +91,8 @@ var OrgList = function OrgList() {
91
91
  var _orgList$;
92
92
  var contextValue = useContext(ValueContext);
93
93
  var ApiService = contextValue.ApiService,
94
- Components = contextValue.Components;
94
+ Components = contextValue.Components,
95
+ hideMemberType = contextValue.hideMemberType;
95
96
  var _getUrlQuery = getUrlQuery(),
96
97
  id = _getUrlQuery.id;
97
98
  var _useState = useState([]),
@@ -188,7 +189,7 @@ var OrgList = function OrgList() {
188
189
  var obj = memberMap[row.type];
189
190
  return /*#__PURE__*/React.createElement("div", {
190
191
  className: "flex items-center"
191
- }, /*#__PURE__*/React.createElement(Tag, {
192
+ }, !hideMemberType && /*#__PURE__*/React.createElement(Tag, {
192
193
  color: obj === null || obj === void 0 ? void 0 : obj.color
193
194
  }, obj === null || obj === void 0 ? void 0 : obj.name), /*#__PURE__*/React.createElement("div", null, _), row.phone && /*#__PURE__*/React.createElement("div", null, "\uFF08", row.phone, "\uFF09"));
194
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepinnet-components/pc",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",