diff --git a/src/stores/studyStore.ts b/src/stores/studyStore.ts index c98b9091..9a4b3a8e 100644 --- a/src/stores/studyStore.ts +++ b/src/stores/studyStore.ts @@ -67,7 +67,11 @@ export const useStudyStore = defineStore('study', () => { }); }) .catch((e: AxiosError) => { - alert(`Could not update study status: ${(e.response?.data as any)?.message}`); + alert( + `Could not update study status: ${ + (e.response?.data as any)?.message + }` + ); handleIndividualError( e, 'Could not update study status' + study.value.studyId @@ -80,7 +84,11 @@ export const useStudyStore = defineStore('study', () => { study.value.status = status; }) .catch((e: AxiosError) => { - alert(`Could not update study status: ${(e.response?.data as any)?.message}`); + alert( + `Could not update study status: ${ + (e.response?.data as any)?.message + }` + ); handleIndividualError( e, 'Could not update study status' + study.value.studyId