Merge branch 'develop' into feature/drawrects

This commit is contained in:
Jörn-Michael Miehe 2023-01-24 23:44:13 +00:00
commit f12bcf01b7

View file

@ -13,12 +13,8 @@ import { Vue, Options } from "vue-class-component";
export default class CalendarDoor extends Vue { export default class CalendarDoor extends Vue {
day!: number; day!: number;
private get image_url(): string {
return this.$advent22.api_url("days/image/" + this.day);
}
private on_click() { private on_click() {
this.$advent22.api_get_blob("days/image/" + this.day, (data) => { this.$advent22.api_get_blob(`days/image/${this.day}`, (data) => {
this.$emit("openDoor", data); this.$emit("openDoor", data);
}); });
} }