Skip to content

Commit

Permalink
timeline: stack RAW with additional file extension (fix #927)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Nov 22, 2023
1 parent e55f0d6 commit f148b45
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,13 @@ export default defineComponent({
const basename = utils.removeExtension(photo.basename ?? String());
const files = toStack.get(basename) ?? [];
// Also allow *one* more extension in the filename
// https://github.com/pulsejet/memories/issues/927
if (basename.includes('.')) {
const subname = utils.removeExtension(basename);
files.push(...(toStack.get(subname) ?? []));
}
if (!files.length) continue;
// Stack on top of this file
Expand Down

0 comments on commit f148b45

Please sign in to comment.