Apply suggestion from @danieldietzler
Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>pull/24650/head
parent
1442b655f8
commit
930a16f007
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue