diff --git a/frontend/package.json b/frontend/package.json index 77e7d608..bead43a6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -34,7 +34,7 @@ "dayjs": "1.11.10", "dompurify": "3.2.6", "feather-icons": "4.28.0", - "frappe-ui": "^0.1.254", + "frappe-ui": "^0.1.256", "highlight.js": "11.11.1", "lucide-vue-next": "0.383.0", "markdown-it": "14.0.0", diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 76464f03..8edca776 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -15,7 +15,6 @@ import { useScreenSize } from './utils/composables' import { usersStore } from '@/stores/user' import { useSettings } from '@/stores/settings' import { useRouter } from 'vue-router' -import { posthogSettings } from '@/telemetry' import DesktopLayout from './components/DesktopLayout.vue' import MobileLayout from './components/MobileLayout.vue' import NoSidebarLayout from './components/NoSidebarLayout.vue' @@ -49,10 +48,4 @@ const Layout = computed(() => { onUnmounted(() => { noSidebar.value = false }) - -watch(userResource, () => { - if (userResource.data) { - posthogSettings.reload() - } -}) diff --git a/frontend/src/components/AdminBatchDashboard.vue b/frontend/src/components/AdminBatchDashboard.vue index 934ab995..135fe84c 100644 --- a/frontend/src/components/AdminBatchDashboard.vue +++ b/frontend/src/components/AdminBatchDashboard.vue @@ -8,7 +8,7 @@
@@ -37,7 +37,7 @@ v-if="showProgressChart" class="border" :config="{ - data: chartData || [], + data: filteredChartData, title: __('Batch Summary'), subtitle: __('Progress of students in courses and assessments'), xAxis: { @@ -64,96 +64,55 @@ diff --git a/frontend/src/components/BatchStudents.vue b/frontend/src/components/BatchStudents.vue index d6e336a8..1eb56e17 100644 --- a/frontend/src/components/BatchStudents.vue +++ b/frontend/src/components/BatchStudents.vue @@ -2,7 +2,7 @@
- {{ students.data?.length }} {{ __('Students') }} + {{ studentCount.data ?? 0 }} {{ __('Students') }}