diff --git a/vue-project/src/components/InputMask.vue b/vue-project/src/components/InputMask.vue index 73b0c82..bb4ef99 100644 --- a/vue-project/src/components/InputMask.vue +++ b/vue-project/src/components/InputMask.vue @@ -16,7 +16,8 @@ - + + @@ -57,6 +58,10 @@ function validateInput() { const valid_grade = grade_steps.includes(parseFloat(grade_form_input.value.note)); return valid_grade && not_empty ? true : false; } + +function deleteGrade(id) { + grades.value = grades.value.filter(e => e.id !== id) +} \ No newline at end of file