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)
onMounted(() => {
identifyUserPersona()
setFiltersFromQuery()
updateCourses()
getCourseCount()
@@ -177,6 +176,7 @@ const getCourseCount = () => {
doctype: 'LMS Course',
}).then((data) => {
courseCount.value = data
identifyUserPersona()
})
}