@live-change/frontend-auto-form 0.8.130 → 0.8.132

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.
Files changed (2) hide show
  1. package/front/src/router.js +2 -2
  2. package/package.json +13 -13
@@ -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
- localStorage.redirectAfterLogin = from.fullPath
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.130",
3
+ "version": "0.8.132",
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.130",
26
- "@live-change/dao": "^0.8.130",
27
- "@live-change/dao-vue3": "^0.8.130",
28
- "@live-change/dao-websocket": "^0.8.130",
29
- "@live-change/framework": "^0.8.130",
30
- "@live-change/image-frontend": "^0.8.130",
31
- "@live-change/image-service": "^0.8.130",
32
- "@live-change/session-service": "^0.8.130",
33
- "@live-change/vue3-components": "^0.8.130",
34
- "@live-change/vue3-ssr": "^0.8.130",
25
+ "@live-change/cli": "^0.8.132",
26
+ "@live-change/dao": "^0.8.132",
27
+ "@live-change/dao-vue3": "^0.8.132",
28
+ "@live-change/dao-websocket": "^0.8.132",
29
+ "@live-change/framework": "^0.8.132",
30
+ "@live-change/image-frontend": "^0.8.132",
31
+ "@live-change/image-service": "^0.8.132",
32
+ "@live-change/session-service": "^0.8.132",
33
+ "@live-change/vue3-components": "^0.8.132",
34
+ "@live-change/vue3-ssr": "^0.8.132",
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.130",
55
+ "@live-change/codeceptjs-helper": "^0.8.132",
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": "9fbe1673e887249a034819694bb283f948488731"
66
+ "gitHead": "2a89523fb97da895d65247edfecdc325fb37095e"
67
67
  }