@yeeyoon/library 3.6.0 → 3.6.3

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.
@@ -306,7 +306,9 @@ const Header = (props) => {
306
306
  <IconTodo style={IconStyle} />
307
307
  任务中心
308
308
  </span>
309
- {(productName === 'bpm' || productName === 'wms') && (
309
+ {(productName === 'bpm' ||
310
+ productName === 'wms' ||
311
+ productName === 'profile') && (
310
312
  <span
311
313
  className={styles['comp-header__icon']}
312
314
  onClick={() => {
@@ -43,11 +43,14 @@ const TenantSelector = (props) => {
43
43
  id = tenants[0].id;
44
44
  name = tenants[0].name;
45
45
  }
46
- if (!isSharePlatform) {
47
- tenants = tenants.filter(
48
- (item) => !shareTenantIdList.includes(item.id)
49
- );
50
- } else {
46
+ // if (!isSharePlatform) {
47
+ // tenants = tenants.filter(
48
+ // (item) => !shareTenantIdList.includes(item.id)
49
+ // );
50
+ // } else {
51
+ // tenants = tenants.filter((item) => shareTenantIdList.includes(item.id));
52
+ // }
53
+ if (isSharePlatform) {
51
54
  tenants = tenants.filter((item) => shareTenantIdList.includes(item.id));
52
55
  }
53
56
  setTenantList(tenants);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yeeyoon/library",
3
- "version": "3.6.0",
3
+ "version": "3.6.3",
4
4
  "description": "宜云前端组件库和通用服务",
5
5
  "main": "index.js",
6
6
  "repository": {