hooked up all items on the list settings section
This commit is contained in:
parent
53df349d9f
commit
91173021b2
32 changed files with 578 additions and 178 deletions
|
|
@ -13,8 +13,8 @@ export const $api = <T>(
|
|||
...(xsrfToken.value ? {'X-XSRF-TOKEN': xsrfToken.value} : {}),
|
||||
},
|
||||
onResponseError({response}) {
|
||||
if (response.status === 401) {
|
||||
navigateTo('/auth/login')
|
||||
if (response.status === 401 || response.status === 419) {
|
||||
useAuth().logout()
|
||||
}
|
||||
},
|
||||
...options,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue