From 9fb95d0eac9f4f701c5c882a2ad30cf60c094ea8 Mon Sep 17 00:00:00 2001 From: bsilkyn Date: Thu, 23 May 2024 16:07:45 +0200 Subject: [PATCH] style: lint fix --- frontend/src/views/submissions/SubmissionsView.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontend/src/views/submissions/SubmissionsView.vue b/frontend/src/views/submissions/SubmissionsView.vue index cf31e302..3aa6001d 100644 --- a/frontend/src/views/submissions/SubmissionsView.vue +++ b/frontend/src/views/submissions/SubmissionsView.vue @@ -37,20 +37,14 @@ const onUpload = async (callback: () => void): Promise => { try { console.log(files.value); await createSubmission(files.value as File[], group.value.id); - addSuccessMessage( - t('toasts.messages.success'), - t('toasts.messages.submissions.create.success') - ); + addSuccessMessage(t('toasts.messages.success'), t('toasts.messages.submissions.create.success')); if (submission.value != null) { submissions.value = [...(submissions.value ?? []), submission.value]; } files.value = []; callback(); } catch (e) { - addErrorMessage( - t('toasts.messages.error'), - t('toasts.messages.submissions.create.error') - ); + addErrorMessage(t('toasts.messages.error'), t('toasts.messages.submissions.create.error')); } } };