1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

Fix storage template extension display (#2002)

* Display correct jpg file extension

* Fix typo in template directory

* Move storage template to correct spelling
This commit is contained in:
Jonathan Jogenfors 2023-03-15 20:39:29 +01:00 committed by GitHub
parent 08ed71e51e
commit 54831878e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@
const substitutions: Record<string, string> = {
filename: 'IMAGE_56437',
ext: 'jpeg',
ext: 'jpg',
filetype: 'IMG',
filetypefull: 'IMAGE'
};
@ -179,7 +179,7 @@
>
<span class="text-immich-fg/25 dark:text-immich-dark-fg/50"
>UPLOAD_LOCATION/{user.id}</span
>/{parsedTemplate()}.jpeg
>/{parsedTemplate()}.jpg
</p>
<form autocomplete="off" class="flex flex-col" on:submit|preventDefault>
@ -210,7 +210,7 @@
<SettingInputField
label="EXTENSION"
inputType={SettingInputFieldType.TEXT}
value={'.jpeg'}
value={'.jpg'}
disabled
/>
</div>

View file

@ -4,7 +4,7 @@
import OAuthSettings from '$lib/components/admin-page/settings/oauth/oauth-settings.svelte';
import PasswordLoginSettings from '$lib/components/admin-page/settings/password-login/password-login-settings.svelte';
import SettingAccordion from '$lib/components/admin-page/settings/setting-accordion.svelte';
import StorageTemplateSettings from '$lib/components/admin-page/settings/storate-template/storage-template-settings.svelte';
import StorageTemplateSettings from '$lib/components/admin-page/settings/storage-template/storage-template-settings.svelte';
import LoadingSpinner from '$lib/components/shared-components/loading-spinner.svelte';
import { api } from '@api';
import type { PageData } from './$types';