1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 21:39:37 +02:00

Convert indentation to tabs, as my vscode did not want to cooperate

This commit is contained in:
Thies 2025-01-30 13:02:49 +01:00
parent 94fca45af0
commit cc6a98d23b
No known key found for this signature in database
4 changed files with 81 additions and 80 deletions

View file

@ -19,11 +19,12 @@
let albums: ImmichAlbum[] = []; let albums: ImmichAlbum[] = [];
let currentAlbum: string = ''; let currentAlbum: string = '';
let selectedDate: string = (adventure as Adventure | null)?.visits.map(v => new Date(v.end_date || v.start_date)).sort((a,b) => +b - +a)[0]?.toISOString().split('T')[0] || ''; let selectedDate: string = (adventure as Adventure | null)?.visits.map(v => new Date(v.end_date || v.start_date)).sort((a,b) => +b - +a)[0]?.toISOString()?.split('T')[0] || '';
if (!selectedDate) { if (!selectedDate) {
selectedDate = new Date().toISOString().split('T')[0]; selectedDate = new Date().toISOString().split('T')[0];
} }
$: { $: {
if (currentAlbum) { if (currentAlbum) {
immichImages = []; immichImages = [];