error handling

This commit is contained in:
Jörn-Michael Miehe 2023-09-12 22:42:51 +00:00
parent 5f2c031793
commit dd40fa9392
3 changed files with 6 additions and 6 deletions

View file

@ -63,7 +63,7 @@ import MultiModal from "./calendar/MultiModal.vue";
}, },
}) })
export default class extends Vue { export default class extends Vue {
public is_loaded = true; public is_loaded = false;
public day_parts: DayStrModel[] = []; public day_parts: DayStrModel[] = [];
public day_image_names: DayStrModel[] = []; public day_image_names: DayStrModel[] = [];
@ -83,7 +83,7 @@ export default class extends Vue {
this.day_image_names = day_image_names; this.day_image_names = day_image_names;
this.is_loaded = true; this.is_loaded = true;
}) })
.catch(console.log); .catch(console.error);
} }
public door_click(day: number) { public door_click(day: number) {

View file

@ -188,7 +188,7 @@ export default class extends Vue {
this.is_loaded = true; this.is_loaded = true;
}) })
.catch(console.log); .catch(console.error);
} }
public load_dav_credentials(): void { public load_dav_credentials(): void {
@ -200,7 +200,7 @@ export default class extends Vue {
password: password, password: password,
}; };
}) })
.catch(console.log); .catch(console.error);
} }
public load_ui_credentials(): void { public load_ui_credentials(): void {
@ -212,7 +212,7 @@ export default class extends Vue {
password: password, password: password,
}; };
}) })
.catch(console.log); .catch(console.error);
} }
} }
</script> </script>

View file

@ -68,7 +68,7 @@ import DoorPlacer from "./editor/DoorPlacer.vue";
}, },
}) })
export default class extends Vue { export default class extends Vue {
public is_loaded = true; public is_loaded = false;
public readonly steps: Step[] = [ public readonly steps: Step[] = [
{ label: "Platzieren", icon: "fa-solid fa-crosshairs" }, { label: "Platzieren", icon: "fa-solid fa-crosshairs" },