fix: show persona form after course count has been fetched

This commit is contained in:
Jannat Patel
2025-05-15 09:38:22 +05:30
parent 7c7f063204
commit 846fe53c0f

View File

@@ -112,7 +112,6 @@ const { brand } = sessionStore()
const courseCount = ref(0) const courseCount = ref(0)
onMounted(() => { onMounted(() => {
identifyUserPersona()
setFiltersFromQuery() setFiltersFromQuery()
updateCourses() updateCourses()
getCourseCount() getCourseCount()
@@ -177,6 +176,7 @@ const getCourseCount = () => {
doctype: 'LMS Course', doctype: 'LMS Course',
}).then((data) => { }).then((data) => {
courseCount.value = data courseCount.value = data
identifyUserPersona()
}) })
} }