Skip to content

Commit

Permalink
format linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiscauwel committed May 21, 2024
1 parent 349ffd6 commit 3768703
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ const academicYearItems = [activeAcademicYear.value, activeAcademicYear.value +
const rules = {
required: (value: string) => !!value || t("create_subject.field_required"),
length: (value: string) => value.length > 2 || t("create_subject.field_length"),
email: (value: string) => !value || /.+@.+\..+/.test(value) || t("create_subject.email_invalid"),
email: (value: string) =>
!value || /.+@.+\..+/.test(value) || t("create_subject.email_invalid"),
};
const emit = defineEmits<{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ defineEmits<{
(e: "update:subject-name", value: string): void;
(e: "update:subject-mail", value: string): void;
(e: "update:active-academic-year", value: number): void;
}>();
</script>

Expand Down
1 change: 0 additions & 1 deletion frontend/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ export default {
enter_email: "Enter email",
email_hint: "Field is optional",
email_invalid: "Provided email is invalid",

},

group: {
Expand Down

0 comments on commit 3768703

Please sign in to comment.