mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-22 05:48:56 +00:00
fix: grades backend not updating
This commit is contained in:
parent
d54c42ab6f
commit
aa58b9d26b
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@
|
|||
on:change={convertGradeToGradeBackend}
|
||||
bind:grade={gradesLocal[i]}
|
||||
on:delete={() => {
|
||||
grades = grades.filter((grade) => grade.subject !== gradesLocal[i].subject);
|
||||
gradesLocal = gradesLocal.filter((_, index) => index !== i);
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue