dtable-statistic 5.0.50-alpha.0 → 5.0.50
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/es/index.js +1 -33
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -9,7 +9,7 @@ class Statistic {
|
|
|
9
9
|
if (!window || !window.app) {
|
|
10
10
|
return null;
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
const {
|
|
13
13
|
state,
|
|
14
14
|
dtableStore,
|
|
15
15
|
collaboratorsCache = {}
|
|
@@ -19,38 +19,6 @@ class Statistic {
|
|
|
19
19
|
selectedTableIdx,
|
|
20
20
|
selectedViewId
|
|
21
21
|
} = state;
|
|
22
|
-
collaboratorsCache = {
|
|
23
|
-
"32929bfe3e5a40e2a913c0d61d8d0eb0@auth.local": {
|
|
24
|
-
"email": "32929bfe3e5a40e2a913c0d61d8d0eb0@auth.local",
|
|
25
|
-
"name": "张惠泽",
|
|
26
|
-
"avatar_url": "https://dev.seatable.cn/image-view/avatars/7/e/28119dac8ca4925e1e0c3a66625965/resized/80/96eaa54b6b64cc9cfed07a6eb6d7aaae.png"
|
|
27
|
-
},
|
|
28
|
-
"f138122d15de4f58803ac640a6f1af28@auth.local": {
|
|
29
|
-
"email": "f138122d15de4f58803ac640a6f1af28@auth.local",
|
|
30
|
-
"name": "史宇昊",
|
|
31
|
-
"avatar_url": "https://dev.seatable.cn/image-view/avatars/d/1/5dbf2f963085d25156830893a5466a/resized/80/e9d4953412684d3eccf7eaed805541f1_A0WwP4G.png"
|
|
32
|
-
},
|
|
33
|
-
"guoxuan.yang@seafile.com": {
|
|
34
|
-
"email": "guoxuan.yang@seafile.com",
|
|
35
|
-
"name": "楊国璇",
|
|
36
|
-
"avatar_url": "https://dev.seatable.cn/image-view/avatars/7/a/441aefaed7eedd5eaacf95028c4635/resized/80/cdd5483ba02767199145087d007c0fa9.png"
|
|
37
|
-
},
|
|
38
|
-
"52992007178f40bc9351df603d344ea4@auth.local": {
|
|
39
|
-
"email": "52992007178f40bc9351df603d344ea4@auth.local",
|
|
40
|
-
"name": "沈钰",
|
|
41
|
-
"avatar_url": "https://dev.seatable.cn/image-view/avatars/d/4/cf0053e4a780a375cedd42b6d54af4/resized/80/e9d4953412684d3eccf7eaed805541f1.png"
|
|
42
|
-
},
|
|
43
|
-
"4a8b19408c7d421191e130f53811db51@auth.local": {
|
|
44
|
-
"email": "4a8b19408c7d421191e130f53811db51@auth.local",
|
|
45
|
-
"name": "晋腾",
|
|
46
|
-
"avatar_url": "https://dev.seatable.cn/image-view/avatars/e/c/5f3cee401647b33db99da9e9cd5bc1/resized/80/e9d4953412684d3eccf7eaed805541f1.png"
|
|
47
|
-
},
|
|
48
|
-
"09d998de63b746bb83dad7a0c90e8789@auth.local": {
|
|
49
|
-
"email": "09d998de63b746bb83dad7a0c90e8789@auth.local",
|
|
50
|
-
"name": "李东泽",
|
|
51
|
-
"avatar_url": "https://dev.seatable.cn/image-view/avatars/a/e/681eeebbda5afa742118655c482ac8/resized/80/e9d4953412684d3eccf7eaed805541f1.png"
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
22
|
const collaboratorsCacheList = Object.values(collaboratorsCache) || [];
|
|
55
23
|
if (!value.collaborators) value.collaborators = [];
|
|
56
24
|
value.collaborators = value.collaborators.concat(collaboratorsCacheList);
|