Commit b68aa5b
authored
persist user store bug fix (#994)
* feat(user-store): add persisted state for user data
- Use pinia-plugin-persistedstate
- Replace userAvatar with avatar
- Clear user store on logout
- Add clearStore action to UserStore
- Update computed properties in Navbar component
* feat(vite.config.js): add external dependency for build
- Add 'pinia-plugin-persistedstate' to external in DEV_CONFIG
- Add 'pinia-plugin-persistedstate' to external in PROD_CONFIG
* fix(deps): update nodejs and package dependencies
- upgrade nodejs to 18.17.1
- add pinia-plugin-persistedstate
- remove pinia-plugin-persistedstate from external
- update various package versions in yarn.lock1 parent ce2f047 commit b68aa5b
File tree
4 files changed
+675
-5
lines changed- frontend
4 files changed
+675
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
87 | | - | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| |||
0 commit comments