lifanagju_citu 2 veckor sedan
förälder
incheckning
eccc7c23b8
1 ändrade filer med 8 tillägg och 1 borttagningar
  1. 8 1
      src/views/menduner/system/talentMap/store/components/info.vue

+ 8 - 1
src/views/menduner/system/talentMap/store/components/info.vue

@@ -54,6 +54,13 @@ const props = defineProps({
   }
 })
 
-const talentTags = ref(props.data?.talentTags || [])
+const talentTags = ref([]) 
 
+watch(
+  () => props.data,
+  () => {
+    talentTags.value = props.data?.talentTags || []
+  },
+  { immediate: true }
+)
 </script>