powr-sdk-web 3.2.2 → 3.2.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.
- package/dist/admin/index.js +3 -1
- package/package.json +1 -1
package/dist/admin/index.js
CHANGED
|
@@ -29,7 +29,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
29
29
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
30
30
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } // Import all admin components
|
|
31
31
|
var AdminDashboard = function AdminDashboard(_ref) {
|
|
32
|
-
var
|
|
32
|
+
var apiUrl = _ref.apiUrl,
|
|
33
|
+
projectId = _ref.projectId,
|
|
33
34
|
_ref$sections = _ref.sections,
|
|
34
35
|
sections = _ref$sections === void 0 ? [] : _ref$sections,
|
|
35
36
|
_ref$theme = _ref.theme,
|
|
@@ -190,6 +191,7 @@ var AdminDashboard = function AdminDashboard(_ref) {
|
|
|
190
191
|
};
|
|
191
192
|
var renderAdminSection = function renderAdminSection() {
|
|
192
193
|
var sectionProps = {
|
|
194
|
+
apiUrl: apiUrl,
|
|
193
195
|
projectId: projectId,
|
|
194
196
|
theme: theme === 'dark' ? 'dark' : 'blue'
|
|
195
197
|
};
|