little unification

This commit is contained in:
Jörn-Michael Miehe 2023-11-02 12:49:12 +00:00
parent 0bc31529bc
commit 6d015420c0

View file

@ -107,8 +107,8 @@ export default class extends Vue {
this.$advent22 this.$advent22
.api_get_blob(`user/image_${day}`) .api_get_blob(`user/image_${day}`)
.then((data) => .then((image_src) =>
this.multi_modal!.show_image(data, this.$advent22.name_door(day)), this.multi_modal!.show_image(image_src, this.$advent22.name_door(day)),
) )
.catch(() => this.multi_modal!.hide()); .catch(() => this.multi_modal!.hide());
} }