mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix
This commit is contained in:
@@ -1,16 +1,8 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
definePageMeta({ layout: 'dashboard' });
|
||||
const activeProjectId = useActiveProjectId();
|
||||
|
||||
const headers = computed(() => {
|
||||
return {
|
||||
'Authorization': authorizationHeaderComputed.value,
|
||||
'x-pid': activeProjectId.data.value || ''
|
||||
}
|
||||
});
|
||||
|
||||
const reportList = useFetch(`/api/security/list`, { headers });
|
||||
const reportList = useFetch(`/api/security/list`, { headers: useComputedHeaders({ useSnapshotDates: false }) });
|
||||
|
||||
const { createAlert } = useAlert();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user