Skip to content

Commit

Permalink
Merge branch 'TUM-Dev:dev' into 1188-skip-initial-silence
Browse files Browse the repository at this point in the history
  • Loading branch information
Mjaethers authored Dec 13, 2023
2 parents d3d3a1c + 7283eaf commit a07299c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/ts/edit-course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ export function lectureEditor(lecture: Lecture): AlpineComponent {
},

deleteLecture() {
DataStore.adminLectureList.delete(this.lectureData.courseId, [this.lectureData.lectureId]);
if (confirm("Do you really want to delete this lecture? This includes any recordings.")) {
DataStore.adminLectureList.delete(this.lectureData.courseId, [this.lectureData.lectureId]);
}
},

deleteLectureSeries() {
Expand Down

0 comments on commit a07299c

Please sign in to comment.