Implement more wizard page, result page still wip

This commit is contained in:
Pax1601
2024-01-17 17:51:27 +01:00
parent 4a5c4ed7d7
commit 1568c65492
27 changed files with 502 additions and 334 deletions

View File

@@ -1,12 +1,12 @@
var manager = null;
/* TODO: find a better solution without using the window object to persist the manager singleton */
function getManager() {
if (manager) {
return manager;
if (window.manager) {
return window.manager;
} else {
const Manager = require("./manager");
manager = new Manager();
return manager;
window.manager = new Manager();
return window.manager;
}
}