From 2882f35b068eeaea9c18dbceb692d83c16e31cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Tue, 24 Jan 2023 23:14:13 +0000 Subject: [PATCH] backtick strings --- ui/src/components/CalendarDoor.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/src/components/CalendarDoor.vue b/ui/src/components/CalendarDoor.vue index 595804b..91df1d2 100644 --- a/ui/src/components/CalendarDoor.vue +++ b/ui/src/components/CalendarDoor.vue @@ -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); }); }