From 629f40d70c65ebe1dc073f28f73b62999cb54361 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Mon, 4 Mar 2024 13:21:13 -0800 Subject: [PATCH] timeline: hide hidden files Signed-off-by: Varun Patil --- CHANGELOG.md | 4 ++++ src/components/Timeline.vue | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38dfa9111..a3242d589 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [Unreleased] + +- Hide files starting with `.` in the timeline + ## [v6.2.2] - 2024-01-10 - Hotfix for a bug in request pipelining. diff --git a/src/components/Timeline.vue b/src/components/Timeline.vue index e59eb0bd0..879d93ae1 100644 --- a/src/components/Timeline.vue +++ b/src/components/Timeline.vue @@ -1060,6 +1060,7 @@ export default defineComponent({ for (const photo of data) { // Skip hidden files if (photo.ishidden) continue; + if (photo.basename?.startsWith('.')) continue; // Add to first pass result res1.push(photo);