src/ts/redux/actions/saveTimetable/saveTimetableAsHtml.ts
Function Save
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected Save(timetable: Timetable) {
let html = (document.getElementById("timetable-view") as HTMLElement)
.outerHTML;
html = html.replace("display: none", "display: inline"); // display timetable summary
const data = `