yach.open.ui 0.0.9-beta3 → 0.0.9-beta4

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * yach.open.ui v0.0.9-beta3
3
+ * yach.open.ui v0.0.9-beta4
4
4
  *
5
5
  * Copyright 2020-present, Tal, Inc.
6
6
  * All rights reserved.
@@ -131721,9 +131721,9 @@ var CommonItem = function CommonItem(_ref) {
131721
131721
  className: "commonNameBox"
131722
131722
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131723
131723
  className: "commonName"
131724
- }, item.name_nick || item.name), item.external_tag === 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131724
+ }, item.name_nick || item.name), (item.external_tag === 1 || type === "contact") && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131725
131725
  className: "tagContact"
131726
- }, "\u5916\u90E8")), type === "member" && userOrg));
131726
+ }, "\u5916\u90E8")), (type === "member" || type === "contact") && userOrg));
131727
131727
  };
131728
131728
 
131729
131729
  /* harmony default export */ __webpack_exports__["a"] = (CommonItem);
@@ -131891,7 +131891,7 @@ var ExternalContact = function ExternalContact(_ref) {
131891
131891
  hasMore: more,
131892
131892
  useWindow: false
131893
131893
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(_CommonList__WEBPACK_IMPORTED_MODULE_6__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
131894
- type: "member",
131894
+ type: "contact",
131895
131895
  showCheckAll: true,
131896
131896
  list: contactList,
131897
131897
  currentList: currentList,
@@ -131953,7 +131953,9 @@ var GroupList = function GroupList(_ref) {
131953
131953
  className: "groupNameBox"
131954
131954
  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131955
131955
  className: "groupName"
131956
- }, item.name_nick || item.name)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131956
+ }, item.name_nick || item.name), item.external_tag === 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131957
+ className: "tagContact"
131958
+ }, "\u5916\u90E8")), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("span", {
131957
131959
  className: "memberNum"
131958
131960
  }, item.group_users_count, Object(_util_locale__WEBPACK_IMPORTED_MODULE_1__[/* default */ "a"])("common_persion"))));
131959
131961
  })));
@@ -132879,7 +132881,7 @@ var Organization = function Organization(_ref) {
132879
132881
  borderBottom: "none"
132880
132882
  },
132881
132883
  onBack: onBack
132882
- })), orgBread && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_OrgBread__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
132884
+ })), orgBread && !!orgBread.length && orgBread.length > 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_OrgBread__WEBPACK_IMPORTED_MODULE_3__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {
132883
132885
  orgBread: orgBread,
132884
132886
  getOrgList: getOrgList
132885
132887
  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default.a.createElement(_OrgList__WEBPACK_IMPORTED_MODULE_4__[/* default */ "a"], _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, {