@goweekdays/layer-common 1.4.5 → 1.4.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @goweekdays/layer-common
2
2
 
3
+ ## 1.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - 3a8c976: Fix index page
8
+
3
9
  ## 1.4.5
4
10
 
5
11
  ### Patch Changes
package/nuxt.config.ts CHANGED
@@ -81,6 +81,7 @@ export default defineNuxtConfig({
81
81
  "/api/public/**": {
82
82
  proxy: `${process.env.S3_BUCKET_ENDPOINT}/**`,
83
83
  },
84
+ "/api/job/posts/**": { proxy: `${process.env.API_CORE}/api/job/posts/**` },
84
85
  },
85
86
 
86
87
  vite: {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@goweekdays/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "1.4.5",
5
+ "version": "1.4.6",
6
6
  "main": "./nuxt.config.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"
package/pages/index.vue CHANGED
@@ -94,13 +94,14 @@ const isPartnerApp = computed(() =>
94
94
  ].includes(APP)
95
95
  );
96
96
 
97
- const { data: member } = await useLazyAsyncData(
97
+ const { data: member, refresh: refreshMember } = await useLazyAsyncData(
98
98
  "get-member-by-app",
99
99
  () => getByApp({ app: APP, user: loggedInUser() }),
100
100
  { immediate: isPartnerApp.value }
101
101
  );
102
102
 
103
103
  function handleSignin() {
104
+ refreshMember();
104
105
  if (APP === "main") {
105
106
  navigateTo({ name: "feeds" });
106
107
  } else if (APP === "admin") {