implemented individual list functionality

This commit is contained in:
Edward Tirado Jr 2026-02-25 17:33:37 -06:00
parent 3373380f34
commit c5f74f134d
24 changed files with 592 additions and 109 deletions

View file

@ -12,6 +12,11 @@ export const $api = <T>(
Accept: 'application/json',
...(xsrfToken.value ? {'X-XSRF-TOKEN': xsrfToken.value} : {}),
},
onResponseError({response}) {
if (response.status === 401) {
navigateTo('/auth/login')
}
},
...options,
})
}