@eeplatform/nuxt-layer-common 1.4.7 → 1.4.8

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
  # @eeplatform/nuxt-layer-common
2
2
 
3
+ ## 1.4.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 272d6fd: Set createdBy value in EnrollmentForm.vue
8
+
3
9
  ## 1.4.7
4
10
 
5
11
  ### Patch Changes
@@ -1290,6 +1290,10 @@ const enrollment = defineModel<TTLearner>({
1290
1290
  default: () => useEnrollment().enrollment,
1291
1291
  });
1292
1292
 
1293
+ const { cookieConfig } = useRuntimeConfig().public;
1294
+
1295
+ enrollment.value.createdBy = useCookie("user", cookieConfig).value ?? "";
1296
+
1293
1297
  const { getAll: getAllPSGC } = usePSGC();
1294
1298
 
1295
1299
  const region = ref("");
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@eeplatform/nuxt-layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "1.4.7",
5
+ "version": "1.4.8",
6
6
  "main": "./nuxt.config.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"