-
\ No newline at end of file
+
diff --git a/src/components/frame/Photo.vue b/src/components/frame/Photo.vue
index ffd89020..5d9b8cae 100644
--- a/src/components/frame/Photo.vue
+++ b/src/components/frame/Photo.vue
@@ -73,8 +73,6 @@ import { getPreviewUrl } from "../../services/FileUtils";
import { IDay, IPhoto } from "../../types";
import * as utils from "../../services/Utils";
-import XImg from "./XImg.vue";
-
import errorsvg from "../../assets/error.svg";
import CheckCircle from "vue-material-design-icons/CheckCircle.vue";
import Star from "vue-material-design-icons/Star.vue";
@@ -84,7 +82,6 @@ import LivePhoto from "vue-material-design-icons/MotionPlayOutline.vue";
export default defineComponent({
name: "Photo",
components: {
- XImg,
CheckCircle,
Video,
Star,
diff --git a/src/components/frame/Tag.vue b/src/components/frame/Tag.vue
index a67a5037..2d17bd51 100644
--- a/src/components/frame/Tag.vue
+++ b/src/components/frame/Tag.vue
@@ -16,7 +16,7 @@
-
-
{{ cluster.count }}
-
-
+
{{ year.text }}
diff --git a/src/main.ts b/src/main.ts
index 884bfe35..cec607c9 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -4,6 +4,7 @@ import "reflect-metadata";
import Vue from "vue";
import VueVirtualScroller from "vue-virtual-scroller";
import "vue-virtual-scroller/dist/vue-virtual-scroller.css";
+import XImg from "./components/frame/XImg.vue";
import GlobalMixin from "./mixins/GlobalMixin";
import UserConfig from "./mixins/UserConfig";
@@ -72,6 +73,7 @@ if (!globalThis.videoClientIdPersistent) {
Vue.mixin(GlobalMixin);
Vue.mixin(UserConfig);
Vue.use(VueVirtualScroller);
+Vue.component("XImg", XImg);
// https://github.com/nextcloud/photos/blob/156f280c0476c483cb9ce81769ccb0c1c6500a4e/src/main.js
// TODO: remove when we have a proper fileinfo standalone library