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

@@ -10,12 +10,9 @@ const selectLabelsEvents = [
];
const eventsStackedSelectIndex = ref<number>(0);
const activeProject = useActiveProject();
const { projectId } = useProject();
const { snapshot, safeSnapshotDates } = useSnapshot();
const refreshKey = computed(() => `${snapshot.value._id.toString() + activeProject.value?._id.toString()}`);
const headers = computed(() => {
return {
@@ -23,7 +20,7 @@ const headers = computed(() => {
'x-to': safeSnapshotDates.value.to,
'Authorization': authorizationHeaderComputed.value,
'x-schema': 'events',
'x-pid': activeProject.value?._id.toString() || ''
'x-pid': projectId.value ?? ''
}
});