diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index 313d43a..e6d1930 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -3,7 +3,7 @@
- + this.$refs.multi_modal.show_image(data)) .catch(() => this.$refs.multi_modal.set_active(false)); } diff --git a/ui/src/components/DoorMapEditor.vue b/ui/src/components/DoorMapEditor.vue index 4186c64..b24a41b 100644 --- a/ui/src/components/DoorMapEditor.vue +++ b/ui/src/components/DoorMapEditor.vue @@ -76,7 +76,7 @@ export default class extends Vue { public doors: Door[] = []; private load_doors(): Promise { - return this.$advent22.api_get("general/doors").then((data) => { + return this.$advent22.api_get("admin/doors").then((data) => { this.doors.length = 0; for (const value of data) { @@ -96,7 +96,7 @@ export default class extends Vue { data.push(door.save()); } - return this.$advent22.api_put("general/doors", data); + return this.$advent22.api_put("admin/doors", data); } public mounted(): void { diff --git a/ui/src/components/calendar/CalendarDoor.vue b/ui/src/components/calendar/CalendarDoor.vue index cf4a803..b48d79e 100644 --- a/ui/src/components/calendar/CalendarDoor.vue +++ b/ui/src/components/calendar/CalendarDoor.vue @@ -25,7 +25,7 @@ export default class extends Vue { this.$emit("doorClick"); this.$advent22 - .api_get_blob(`days/image/${this.door.day}`) + .api_get_blob(`images/${this.door.day}`) .then((data) => this.$emit("doorSuccess", data)) .catch(([reason]) => { let msg = "Unbekannter Fehler, bitte wiederholen!"; diff --git a/ui/src/components/editor/DoorChooser.vue b/ui/src/components/editor/DoorChooser.vue index fc2c6d8..4c3e333 100644 --- a/ui/src/components/editor/DoorChooser.vue +++ b/ui/src/components/editor/DoorChooser.vue @@ -11,7 +11,7 @@
- +
- +