add snapshots and fix top cards following it

This commit is contained in:
Emily
2024-11-20 16:43:52 +01:00
parent ec974c3599
commit 606eb0b035
8 changed files with 191 additions and 109 deletions

View File

@@ -25,7 +25,7 @@ export function useComputedHeaders(customOptions?: CustomOptions) {
const useActivePid = customOptions?.useActivePid || true;
const headers = computed<Record<string, string>>(() => {
console.trace('Computed recalculated');
const parsedCustom: Record<string, string> = {}
const customKeys = Object.keys(customOptions?.custom || {});
for (const key of customKeys) {
@@ -43,5 +43,7 @@ export function useComputedHeaders(customOptions?: CustomOptions) {
}
})
return headers;
}