@nocobase/plugin-theme-editor 0.11.1-alpha.4 → 0.11.1-alpha.5
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.
|
@@ -104,10 +104,6 @@ function Label() {
|
|
|
104
104
|
(0, _client2().error)(err);
|
|
105
105
|
return null;
|
|
106
106
|
}
|
|
107
|
-
if (!currentUser) {
|
|
108
|
-
(0, _client2().error)('Please check if provide `CurrentUserProvider` in your app.');
|
|
109
|
-
throw new Error('Please check if provide `CurrentUserProvider` in your app.');
|
|
110
|
-
}
|
|
111
107
|
if (!systemSettings) {
|
|
112
108
|
(0, _client2().error)('Please check if provide `SystemSettingsProvider` in your app.');
|
|
113
109
|
throw new Error('Please check if provide `SystemSettingsProvider` in your app.');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-theme-editor",
|
|
3
|
-
"version": "0.11.1-alpha.
|
|
3
|
+
"version": "0.11.1-alpha.5",
|
|
4
4
|
"main": "lib/server/index.js",
|
|
5
5
|
"displayName": "Theme editor",
|
|
6
6
|
"displayName.zh-CN": "主题编辑器",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"@ant-design/cssinjs": "^1.11.1",
|
|
22
22
|
"@ant-design/icons": "^5.1.4",
|
|
23
23
|
"@emotion/css": "^11.11.2",
|
|
24
|
-
"@nocobase/client": "0.11.1-alpha.
|
|
25
|
-
"@nocobase/database": "0.11.1-alpha.
|
|
26
|
-
"@nocobase/server": "0.11.1-alpha.
|
|
27
|
-
"@nocobase/test": "0.11.1-alpha.
|
|
28
|
-
"@nocobase/utils": "0.11.1-alpha.
|
|
24
|
+
"@nocobase/client": "0.11.1-alpha.5",
|
|
25
|
+
"@nocobase/database": "0.11.1-alpha.5",
|
|
26
|
+
"@nocobase/server": "0.11.1-alpha.5",
|
|
27
|
+
"@nocobase/test": "0.11.1-alpha.5",
|
|
28
|
+
"@nocobase/utils": "0.11.1-alpha.5",
|
|
29
29
|
"antd": "^5.6.4",
|
|
30
30
|
"lodash": "4.17.21",
|
|
31
31
|
"react": "^18.2.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "1dcfd15a7d95a40b0a2f60e1de19ec574066fb20"
|
|
34
34
|
}
|
|
@@ -68,11 +68,6 @@ function Label() {
|
|
|
68
68
|
return null;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
if (!currentUser) {
|
|
72
|
-
error('Please check if provide `CurrentUserProvider` in your app.');
|
|
73
|
-
throw new Error('Please check if provide `CurrentUserProvider` in your app.');
|
|
74
|
-
}
|
|
75
|
-
|
|
76
71
|
if (!systemSettings) {
|
|
77
72
|
error('Please check if provide `SystemSettingsProvider` in your app.');
|
|
78
73
|
throw new Error('Please check if provide `SystemSettingsProvider` in your app.');
|