@live-change/frontend-auto-form 0.8.130 → 0.8.131
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/front/src/router.js +2 -2
- package/package.json +13 -13
package/front/src/router.js
CHANGED
|
@@ -45,7 +45,7 @@ export function createRouter(app, config) {
|
|
|
45
45
|
if(to?.matched.find(m => m?.meta.signedIn)) {
|
|
46
46
|
if(!client.value.user) {
|
|
47
47
|
console.log("REDIRECT TO LOGIN BECAUSE PAGE REQUIRES LOGIN!")
|
|
48
|
-
router.redirectAfterSignIn = to.fullPath
|
|
48
|
+
router.redirectAfterSignIn = JSON.stringify(to.fullPath)
|
|
49
49
|
return { name: 'user:signInEmail' }
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -57,7 +57,7 @@ export function createRouter(app, config) {
|
|
|
57
57
|
}
|
|
58
58
|
if(to && to.name === 'user:signInEmail' && from?.matched.find(m => m?.meta.saveForSignIn)) {
|
|
59
59
|
console.log("SAVE FOR LOGIN", from.fullPath)
|
|
60
|
-
|
|
60
|
+
router.redirectAfterSignIn = JSON.stringify(to.fullPath)
|
|
61
61
|
}
|
|
62
62
|
})
|
|
63
63
|
return router
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/frontend-auto-form",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.131",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"type": "module",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@fortawesome/fontawesome-free": "^6.5.2",
|
|
25
|
-
"@live-change/cli": "^0.8.
|
|
26
|
-
"@live-change/dao": "^0.8.
|
|
27
|
-
"@live-change/dao-vue3": "^0.8.
|
|
28
|
-
"@live-change/dao-websocket": "^0.8.
|
|
29
|
-
"@live-change/framework": "^0.8.
|
|
30
|
-
"@live-change/image-frontend": "^0.8.
|
|
31
|
-
"@live-change/image-service": "^0.8.
|
|
32
|
-
"@live-change/session-service": "^0.8.
|
|
33
|
-
"@live-change/vue3-components": "^0.8.
|
|
34
|
-
"@live-change/vue3-ssr": "^0.8.
|
|
25
|
+
"@live-change/cli": "^0.8.131",
|
|
26
|
+
"@live-change/dao": "^0.8.131",
|
|
27
|
+
"@live-change/dao-vue3": "^0.8.131",
|
|
28
|
+
"@live-change/dao-websocket": "^0.8.131",
|
|
29
|
+
"@live-change/framework": "^0.8.131",
|
|
30
|
+
"@live-change/image-frontend": "^0.8.131",
|
|
31
|
+
"@live-change/image-service": "^0.8.131",
|
|
32
|
+
"@live-change/session-service": "^0.8.131",
|
|
33
|
+
"@live-change/vue3-components": "^0.8.131",
|
|
34
|
+
"@live-change/vue3-ssr": "^0.8.131",
|
|
35
35
|
"@vueuse/core": "^10.11.0",
|
|
36
36
|
"codeceptjs-assert": "^0.0.5",
|
|
37
37
|
"compression": "^1.7.4",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"vue3-scroll-border": "0.1.6"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@live-change/codeceptjs-helper": "^0.8.
|
|
55
|
+
"@live-change/codeceptjs-helper": "^0.8.131",
|
|
56
56
|
"codeceptjs": "^3.6.5",
|
|
57
57
|
"generate-password": "1.7.1",
|
|
58
58
|
"playwright": "^1.41.2",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"author": "Michał Łaszczewski <michal@laszczewski.pl>",
|
|
64
64
|
"license": "ISC",
|
|
65
65
|
"description": "",
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "26ec71040a5eea3f61f83e631cb03e420fa90817"
|
|
67
67
|
}
|