issue-77 #105
@ -90,7 +90,9 @@ public class TaskService {
|
||||
public void deleteTask(Task task) {
|
||||
task.getTaskgroup().getTasks().remove(task);
|
||||
taskgroupRepository.save(task.getTaskgroup());
|
||||
if(task.getTaskSerieItem() != null) {
|
||||
taskSeriesService.deleteTaskSeriesItem(task);
|
||||
}
|
||||
taskRepository.delete(task);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user