From 40ab7cbf2bc8bf4cfdd013df47dc7c30c97ab498 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Wed, 19 Oct 2022 10:46:29 -0700 Subject: [PATCH] thisday: fix repeat bug --- src/components/top-matter/OnThisDay.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/top-matter/OnThisDay.vue b/src/components/top-matter/OnThisDay.vue index 389ee3b4..54fbb6cc 100644 --- a/src/components/top-matter/OnThisDay.vue +++ b/src/components/top-matter/OnThisDay.vue @@ -110,6 +110,8 @@ export default class OnThisDay extends Mixins(GlobalMixin) { } async process(photos: IPhoto[]) { + this.years = []; + let currentYear = 9999; for (const photo of photos) {