mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-13 08:48:38 +01:00
rewrite
This commit is contained in:
@@ -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 || ''
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user