diff --git a/client/src/components/dashboard/UkStatistics.vue b/client/src/components/dashboard/UkStatistics.vue index 7d70d930..720ce3e2 100644 --- a/client/src/components/dashboard/UkStatistics.vue +++ b/client/src/components/dashboard/UkStatistics.vue @@ -6,6 +6,7 @@ import type { CourseStatisticsType } from "@/gql/graphql"; import AssignmentSummaryBox from "@/components/dashboard/AssignmentSummaryBox.vue"; import FeedbackSummaryBox from "@/components/dashboard/FeedbackSummaryBox.vue"; import CompetenceSummaryBox from "@/components/dashboard/CompetenceSummaryBox.vue"; +import LoadingSpinner from "@/components/ui/LoadingSpinner.vue"; const props = defineProps<{ courseId: string; @@ -95,4 +96,7 @@ onMounted(async () => { /> +
+ +
diff --git a/client/src/components/learningPath/LearningPathDiagram.vue b/client/src/components/learningPath/LearningPathDiagram.vue index ce0c098e..e91aae0c 100644 --- a/client/src/components/learningPath/LearningPathDiagram.vue +++ b/client/src/components/learningPath/LearningPathDiagram.vue @@ -3,6 +3,7 @@ import LearningPathCircle from "@/pages/learningPath/learningPathPage/LearningPa import { calculateCircleSectorData } from "@/pages/learningPath/learningPathPage/utils"; import { computed } from "vue"; import { useCourseCircleProgress, useCourseDataWithCompletion } from "@/composables"; +import LoadingSpinner from "@/components/ui/LoadingSpinner.vue"; export type DiagramType = "horizontal" | "horizontalSmall" | "singleSmall"; @@ -54,23 +55,25 @@ const { inProgressCirclesCount, circlesCount } = useCourseCircleProgress(