@saltcorn/sbadmin2 0.8.0-beta.3 → 0.8.0
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/index.js +2 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -269,6 +269,7 @@ const blockDispatch = {
|
|
|
269
269
|
};
|
|
270
270
|
|
|
271
271
|
/**
|
|
272
|
+
* Render body
|
|
272
273
|
* @param {string} title
|
|
273
274
|
* @param {string|object} body
|
|
274
275
|
* @param {*} role
|
|
@@ -287,7 +288,7 @@ const renderBody = (title, body, role) =>
|
|
|
287
288
|
* @returns {hr|a}
|
|
288
289
|
*/
|
|
289
290
|
const renderAuthLinks = (authLinks) => {
|
|
290
|
-
|
|
291
|
+
let links = [];
|
|
291
292
|
if (authLinks.login)
|
|
292
293
|
links.push(link(authLinks.login, "Already have an account? Login!"));
|
|
293
294
|
if (authLinks.forgot) links.push(link(authLinks.forgot, "Forgot password?"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/sbadmin2",
|
|
3
|
-
"version": "0.8.0
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "SB Admin 2 layout plugin",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"clean": "echo \"Error: no TypeScript support yet\""
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@saltcorn/data": "0.8.0
|
|
13
|
-
"@saltcorn/markup": "0.8.0
|
|
12
|
+
"@saltcorn/data": "0.8.0",
|
|
13
|
+
"@saltcorn/markup": "0.8.0",
|
|
14
14
|
"startbootstrap-sb-admin-2-bs5": "^4.1.5-beta.8"
|
|
15
15
|
},
|
|
16
16
|
"author": "Tom Nielsen",
|