From 1b1b1ab9ca79bb5f1dc683bbf6fc3caac2bdbd53 Mon Sep 17 00:00:00 2001 From: Khadim Date: Fri, 15 Sep 2023 12:12:27 +0200 Subject: [PATCH] some linter fixes --- web/ts/edit-course.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/ts/edit-course.ts b/web/ts/edit-course.ts index bc1d9f717..d42b5e716 100644 --- a/web/ts/edit-course.ts +++ b/web/ts/edit-course.ts @@ -1,4 +1,4 @@ -import { Delete, patchData, postData, putData, sendFormData, showMessage, uploadFile } from "./global"; +import { patchData, postData, putData, sendFormData } from "./global"; import { StatusCodes } from "http-status-codes"; import { DataStore } from "./data-store/data-store"; import { @@ -8,7 +8,6 @@ import { LectureVideoTypeCam, LectureVideoTypeComb, LectureVideoTypePres, - LectureVideoTypes, VideoSection, videoSectionSort, } from "./api/admin-lecture-list"; @@ -227,7 +226,7 @@ export function lectureEditor(lecture: Lecture): AlpineComponent { section.startSeconds < 60 ); }, - + deleteLecture() { DataStore.adminLectureList.delete(this.lectureData.courseId, [this.lectureData.lectureId]); },