From 274c9347f5b60c48037cc992d6bee5bb67535613 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sun, 24 Jan 2021 20:40:40 +0100 Subject: [PATCH] Purge: Hide missing files in UI and set new primary if needed #917 --- frontend/src/dialog/photo/files.vue | 384 ++++++++++++++-------------- internal/entity/file.go | 11 +- internal/entity/photo.go | 37 +++ internal/entity/photo_test.go | 10 + internal/photoprism/purge.go | 27 +- internal/query/files.go | 20 ++ internal/query/files_test.go | 28 +- internal/query/photo.go | 23 ++ 8 files changed, 337 insertions(+), 203 deletions(-) diff --git a/frontend/src/dialog/photo/files.vue b/frontend/src/dialog/photo/files.vue index a4a4bfa32..8ef52a45e 100644 --- a/frontend/src/dialog/photo/files.vue +++ b/frontend/src/dialog/photo/files.vue @@ -1,197 +1,201 @@