From 6d015420c0e882838957e2c0de50eab096a4e207 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Thu, 2 Nov 2023 12:49:12 +0000 Subject: [PATCH] little unification --- ui/src/components/admin/CalendarAssistant.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/components/admin/CalendarAssistant.vue b/ui/src/components/admin/CalendarAssistant.vue index 10441c6..8819307 100644 --- a/ui/src/components/admin/CalendarAssistant.vue +++ b/ui/src/components/admin/CalendarAssistant.vue @@ -107,8 +107,8 @@ export default class extends Vue { this.$advent22 .api_get_blob(`user/image_${day}`) - .then((data) => - this.multi_modal!.show_image(data, this.$advent22.name_door(day)), + .then((image_src) => + this.multi_modal!.show_image(image_src, this.$advent22.name_door(day)), ) .catch(() => this.multi_modal!.hide()); }