diff --git a/ui/src/App.vue b/ui/src/App.vue
index f055b3b..bc8ef18 100644
--- a/ui/src/App.vue
+++ b/ui/src/App.vue
@@ -7,12 +7,13 @@
Der Gelöt
-
+
+
@@ -33,13 +34,12 @@ import LoginModal from "./components/LoginModal.vue";
},
})
export default class App extends Vue {
- image_url = "";
- modal_visible = false;
private visible_days = 0;
date = "";
declare $refs: {
login_modal: LoginModal;
+ image_modal: ImageModal;
};
public mounted(): void {
@@ -57,9 +57,9 @@ export default class App extends Vue {
this.$refs.login_modal.set_active(true);
}
- private paula(url: string): void {
- this.image_url = url;
- this.modal_visible = true;
+ private open_calendar_door(image_src: string): void {
+ this.$refs.image_modal.set_src(image_src);
+ this.$refs.image_modal.set_active(true);
}
}
diff --git a/ui/src/components/ImageModal.vue b/ui/src/components/ImageModal.vue
index 71245aa..c9a245c 100644
--- a/ui/src/components/ImageModal.vue
+++ b/ui/src/components/ImageModal.vue
@@ -1,36 +1,34 @@
-
+
-
+