This commit is contained in:
Emily
2024-10-07 15:26:57 +02:00
parent c2846ca595
commit b27cacf4e6
50 changed files with 512 additions and 583 deletions

View File

@@ -77,7 +77,7 @@ const chartData = ref<ChartData<'doughnut'>>({
const { doughnutChartProps, doughnutChartRef } = useDoughnutChart({ chartData: chartData, options: chartOptions });
const activeProjectId = useActiveProjectId();
const { projectId } = useProject();
const { safeSnapshotDates } = useSnapshot();
@@ -105,7 +105,7 @@ const headers = computed(() => {
'Authorization': authorizationHeaderComputed.value,
'x-schema': 'events',
'x-limit': "6",
'x-pid': activeProjectId.data.value || ''
'x-pid': projectId.value || ''
}
});

View File

@@ -38,7 +38,7 @@ function showAnomalyInfoAlert() {
<div class="flex gap-2 items-center text-text/90 justify-center md:justify-start">
<div class="animate-pulse w-[1rem] h-[1rem] bg-green-400 rounded-full"> </div>
<div class="poppins font-medium text-[1.2rem]"> {{ onlineUsers }} Online users</div>
<div class="poppins font-medium text-[1.2rem]"> {{ onlineUsers.data }} Online users</div>
</div>
<div class="grow"></div>