From e1bc82b2ca3a0be3a99e836b7e707b2cbae9632d Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 7 Oct 2022 13:28:20 -0700 Subject: [PATCH] Prevent selecting tags --- src/components/Timeline.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index a1b0f5427..202ea8863 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -1047,7 +1047,10 @@ export default class Timeline extends Mixins(GlobalMixin, UserConfig) { /** Add a photo to selection list */ selectPhoto(photo: IPhoto, val?: boolean, noUpdate?: boolean) { - if (photo.flag & this.c.FLAG_PLACEHOLDER || photo.flag & this.c.FLAG_IS_FOLDER) { + if (photo.flag & this.c.FLAG_PLACEHOLDER || + photo.flag & this.c.FLAG_IS_FOLDER || + photo.flag & this.c.FLAG_IS_TAG + ) { return; // ignore placeholders }