(timetableClone.data[day - 1][index] = e)"
- @delete="timetableClone.data[day - 1].splice(index, 1)"
+ @delete="
+ () => {
+ timetableClone.data[day - 1].splice(index, 1);
+ forceUpdate++;
+ }
+ "
@move="
(direction) => {
if (direction == 'up' && index > 0) {
@@ -101,6 +109,7 @@ function arrayMove(arr, fromIndex, toIndex) {
index + 1
);
}
+ forceUpdate++;
}
"
/>