fix: show persona form after course count has been fetched
This commit is contained in:
@@ -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()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user