Apply suggestion from @danieldietzler

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
pull/24650/head
Rahul Kumar Saini 2025-12-17 21:39:12 -05:00 committed by GitHub
parent 1442b655f8
commit 930a16f007
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -385,9 +385,9 @@ export class StorageTemplateService extends BaseService {
assetIdShort: asset.id.slice(-12), assetIdShort: asset.id.slice(-12),
//just throw into the root if it doesn't belong to an album //just throw into the root if it doesn't belong to an album
album: (albumName && sanitize(albumName.replaceAll(/\.+/g, ''))) || '', album: (albumName && sanitize(albumName.replaceAll(/\.+/g, ''))) || '',
make: make || '', make: make ?? '',
model: model || '', model: model ?? '',
lensModel: lensModel || '', lensModel: lensModel ?? '',
}; };
const systemTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone; const systemTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;