replacing site-local error display by global error display

This commit is contained in:
2025-09-26 15:27:20 +02:00
parent 2a6392cd2b
commit e3b735bb7b
16 changed files with 62 additions and 66 deletions

View File

@@ -28,10 +28,10 @@
projects = await resp.json();
yikes();
} else {
error(await resp.text());
error(resp);
}
} else {
error(await resp.text());
error(resp);
}
}

View File

@@ -43,7 +43,7 @@
project.allowed_states[json.code] = json.name;
yikes();
} else {
error(await resp.text());
error(resp);
}
}
@@ -92,7 +92,7 @@
yikes();
loadTasks();
} else {
error(await resp.text());
error(resp);
}
}
@@ -113,7 +113,7 @@
tasks = await resp.json();
yikes();
} else {
error(await resp.text());
error(resp);
}
}
@@ -138,7 +138,7 @@
project = await resp.json();
return true;
} else {
error(await resp.text());
error(resp);
return false;
}
}