mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 00:03:07 +00:00
backtick strings
This commit is contained in:
parent
bf5f4ffbb3
commit
2882f35b06
1 changed files with 1 additions and 5 deletions
|
@ -13,12 +13,8 @@ import { Vue, Options } from "vue-class-component";
|
|||
export default class CalendarDoor extends Vue {
|
||||
day!: number;
|
||||
|
||||
private get image_url(): string {
|
||||
return this.$advent22.api_url("days/image/" + this.day);
|
||||
}
|
||||
|
||||
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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue