mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-12-23 21:22:59 +00:00
error handling
This commit is contained in:
parent
5f2c031793
commit
dd40fa9392
3 changed files with 6 additions and 6 deletions
|
@ -63,7 +63,7 @@ import MultiModal from "./calendar/MultiModal.vue";
|
|||
},
|
||||
})
|
||||
export default class extends Vue {
|
||||
public is_loaded = true;
|
||||
public is_loaded = false;
|
||||
public day_parts: DayStrModel[] = [];
|
||||
public day_image_names: DayStrModel[] = [];
|
||||
|
||||
|
@ -83,7 +83,7 @@ export default class extends Vue {
|
|||
this.day_image_names = day_image_names;
|
||||
this.is_loaded = true;
|
||||
})
|
||||
.catch(console.log);
|
||||
.catch(console.error);
|
||||
}
|
||||
|
||||
public door_click(day: number) {
|
||||
|
|
|
@ -188,7 +188,7 @@ export default class extends Vue {
|
|||
|
||||
this.is_loaded = true;
|
||||
})
|
||||
.catch(console.log);
|
||||
.catch(console.error);
|
||||
}
|
||||
|
||||
public load_dav_credentials(): void {
|
||||
|
@ -200,7 +200,7 @@ export default class extends Vue {
|
|||
password: password,
|
||||
};
|
||||
})
|
||||
.catch(console.log);
|
||||
.catch(console.error);
|
||||
}
|
||||
|
||||
public load_ui_credentials(): void {
|
||||
|
@ -212,7 +212,7 @@ export default class extends Vue {
|
|||
password: password,
|
||||
};
|
||||
})
|
||||
.catch(console.log);
|
||||
.catch(console.error);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -68,7 +68,7 @@ import DoorPlacer from "./editor/DoorPlacer.vue";
|
|||
},
|
||||
})
|
||||
export default class extends Vue {
|
||||
public is_loaded = true;
|
||||
public is_loaded = false;
|
||||
|
||||
public readonly steps: Step[] = [
|
||||
{ label: "Platzieren", icon: "fa-solid fa-crosshairs" },
|
||||
|
|
Loading…
Reference in a new issue