fix: SyntaxErrors in JS (overview & cookbook)
This commit is contained in:
@@ -128,7 +128,6 @@ function mount() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Aktuelle Analyse-Daten vom Backend
|
// Aktuelle Analyse-Daten vom Backend
|
||||||
let currentAnalysis = null;
|
|
||||||
|
|
||||||
function updateLiveFit() {
|
function updateLiveFit() {
|
||||||
const file = $("#cb-m-files").value;
|
const file = $("#cb-m-files").value;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ async function triggerAction(action) {
|
|||||||
toast("Update gestartet! Siehe Aktivitäten.");
|
toast("Update gestartet! Siehe Aktivitäten.");
|
||||||
try {
|
try {
|
||||||
await api("/api/update", { method: "POST" });
|
await api("/api/update", { method: "POST" });
|
||||||
document.querySelector('.nav-item[data-view=\\'activity\\']').click();
|
document.querySelector('.nav-item[data-view="activity"]').click();
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
toast("Fehler: " + e.message, true);
|
toast("Fehler: " + e.message, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user